Refactor glance service configuration in Docker Compose and remove unused healthcheck
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user