27 lines
895 B
YAML
27 lines
895 B
YAML
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 |