Skip to content

Overrides extend the base compose.yaml with additional services or modify existing behavior. Include them in your compose command using multiple -f flags.

bash
docker compose -f compose.yaml -f overrides/compose.mariadb.yaml -f overrides/compose.redis.yaml config > compose.custom.yaml
OverriderPurposeAdditional Info
Database
compose.mariadb.yamlAdds MariaDB database serviceset DB_PASSWORD or default Password will be used
compose.mariadb-secrets.yamlAdds MariaDB with password from a secret file instead of environment variableSet DB_PASSWORD_SECRETS_FILE to the path of your secret file
compose.mariadb-shared.yamlMakes MariaDB available on a shared network (mariadb-network) for other servicesset DB_PASSWORD
compose.postgres.yamlUses PostgreSQL instead of MariaDB as the databaseset DB_PASSWORD
Proxy
compose.noproxy.yamlExposes the application directly on port :8080 without a reverse proxy
compose.proxy.yamlUses Traefik as HTTP reverse proxy on port :80You can change the published port by setting HTTP_PUBLISH_PORT
compose.https.yamlUses Traefik as HTTPS reverse proxy on Port :443 with automatic HTTP-to-HTTPS redirectSITES_RULE and LETSENCRYPT_EMAIL must be set. HTTP_PUBLISH_PORT and HTTPS_PUBLISH_PORT can be set.
compose.traefik.yamlRuns a standalone Traefik proxy with dashboard (HTTP) on a shared traefik-public networkUse for multi-stack setups. Requires TRAEFIK_DOMAIN and HASHED_PASSWORD.
compose.traefik-ssl.yamlAdds HTTPS and Let's Encrypt for the Traefik dashboardUse with compose.traefik.yaml. Requires EMAIL and TRAEFIK_DOMAIN. Publishes HTTPS_PUBLISH_PORT.
compose.nginxproxy.yamlUses nginx-proxy as HTTP reverse proxy on port :80Set NGINX_PROXY_HOSTS. Use with compose.nginxproxy-ssl.yaml for HTTPS. You can change the published port by setting HTTP_PUBLISH_PORT
compose.nginxproxy-ssl.yamlAdds acme-companion for HTTPS on port :443 with automatic certificatesRequires compose.nginxproxy.yaml. Set NGINX_PROXY_HOSTS and LETSENCRYPT_EMAIL. HTTP_PUBLISH_PORT and HTTPS_PUBLISH_PORT can be set.
Redis
compose.redis.yamlAdds Redis service for caching and background job queuing
Services
compose.migrator.yamlRuns a dedicated migration container performing bench --site all migrate on all sites at every startControl migration intent with MIGRATE_SITES - defaults to true
TBDThe following overrides are available but lack documentation. If you use them and understand their purpose, please consider contributing to this documentation.
compose.backup-cron.yaml
compose.custom-domain-ssl.yaml
compose.custom-domain.yaml
compose.multi-bench-ssl.yaml
compose.multi-bench.yaml