Files
Docker-Compose/Dashboard_Containers/organizr/compose.yaml
T

31 lines
1.0 KiB
YAML
Raw Normal View History

---
services:
organizr:
container_name: organizr
hostname: organizr
image: organizr/organizr:latest
restart: unless-stopped
ports:
- 5011:80
volumes:
- /srv/docker/organizr:/config
environment:
- PUID=1000
- PGID=1000
- TZ=CST/UTC
networks:
- traefik_network
labels:
### Enable Traefik
- traefik.enable=true
### For HTTP
#- traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
#- traefik.http.routers.${SERVICE_NAME}.entrypoints=web
### For HTTPS
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
networks:
traefik_network:
external: true