Create a .env file with all required variables (see .env.example)
Detailed documentation about the variables can be found at https://www.openem.ch/documentation/admin/installation/ingestor
docker compose up -dThe version endpoint can be used as a health check:
curl -i http://localhost:8001/versionThere is also a Swagger documentation page available at http://localhost:8001/docs/index.html.
If Globus Connect server is installed as described in https://www.openem.ch/documentation/admin/installation/globus, the Caddy reverse proxy does not need to be installed.
Update services/caddy/config/Caddyfile to match the values in .env file. (TODO: centralize all
configuration in .env.)
TLS certificates should be configured in Caddyfile if needed. The default
configuration uses self-signed certificates.
Caddy has strong support for automatically renewing certificates. See the
docs for all options. It is also possible to fetch
certificates externally (eg using certbot on the host) and then mount the certificates
within the proxy container. This will require modifying services/caddy/compose.yaml.
Start the services with the profile with_proxy specified:
docker compose --profile with_proxy up -d