Update docker-compose.yml

add missing traefik labels and port definition
This commit is contained in:
LRVT 2024-02-15 22:57:23 +01:00 committed by GitHub
parent 116a9cdf43
commit 168df60751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,23 @@ services:
hostname: deemix
image: registry.gitlab.com/bockiii/deemix-docker:latest
restart: unless-stopped
ports:
- 6595:6595
expose:
- 6595
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/deemix/config:/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/deemix/downloads:/downloads
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.deemix.rule=Host(`deemix.example.com`)
# - traefik.http.services.deemix.loadbalancer.server.port=6595
# # Optional part for traefik middlewares
# - traefik.http.routers.deemix.middlewares=local-ipwhitelist@file,authelia@docker
#networks:
# proxy:
# external: true