Refactor glance service configuration in Docker Compose and remove unused healthcheck

This commit is contained in:
2025-11-11 09:46:34 +01:00
parent 34e9771421
commit ad20a54635
2 changed files with 1 additions and 7 deletions
+27
View File
@@ -0,0 +1,27 @@
services:
glance:
container_name: glance
image: glanceapp/glance
restart: unless-stopped
volumes:
- ./glance/config:/app/config
- ./glance/assets:/app/assets
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
env_file: .env
labels:
- "traefik.enable=true"
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.rule=Host(`${GLANCE_SUBDOMEN:-glance}.${HOST:-workstation}`)"
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.entrypoints=websecure"
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.tls=true"
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.tls.certresolver=le"
- "traefik.http.services.${GLANCE_APPNAME:-glance}.loadbalancer.server.port=8080"
networks:
- traefik-proxy
dns:
- 1.1.1.1
- 8.8.8.8
networks:
traefik-proxy:
external: true