mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
ec66655997
- move core configuratiion (authelia, traefik) to main .env - move all hostname definitions to main .env - add cloudflare ddns to automatically create DNS records - automatically determine stremio addon hostnames for authelia using predefined hostname environment variables - give all services a profile, including the previously implicit "default" services. Instead provide an explicit "required" profile that contains traefik and authelia. Allowing you to restart a specific profile without including the previous default services and also allowing you to have more control.
21 lines
622 B
YAML
21 lines
622 B
YAML
services:
|
|
honey:
|
|
image: ghcr.io/dani3l0/honey:latest
|
|
container_name: honey
|
|
restart: unless-stopped
|
|
user: $PUID:$PGID
|
|
volumes:
|
|
- ${DOCKER_DATA_DIR}/honey:/app/dist/config
|
|
- ${DOCKER_DATA_DIR}/honey/img:/app/dist/img/custom
|
|
expose:
|
|
- 4173
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.honey.rule=Host(`${HONEY_HOSTNAME?}`)"
|
|
- "traefik.http.routers.honey.entrypoints=websecure"
|
|
- "traefik.http.routers.honey.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.honey.middlewares=authelia@docker"
|
|
profiles:
|
|
- honey
|
|
- all
|