47 lines
1.8 KiB
YAML
47 lines
1.8 KiB
YAML
services:
|
|
christmas-community:
|
|
image: wingysam/christmas-community
|
|
container_name: christmas
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /srv/docker/christmas/data:/data
|
|
#ports:
|
|
# - 80:80
|
|
environment:
|
|
# Table mode, set to 'false' to revert to box mode
|
|
TABLE: 'true'
|
|
# Single list mode
|
|
# (for weddings, birthdays, etc. only the admin account's list is accessible)
|
|
# Set to 'true' to enable
|
|
SINGLE_LIST: 'false'
|
|
# Some websites (like walmart) send headers that are larger than 8MB in
|
|
# length. If issues are encountered, set the node.js limit to a higher
|
|
# number than 8192
|
|
#NODE_OPTIONS: "--max-http-header-size=32768"
|
|
BULMASWATCH: 'Darkly'
|
|
networks:
|
|
- traefik_network
|
|
labels:
|
|
### Auto create icon on Flame dashboard
|
|
- flame.type=application
|
|
- flame.name=${SERVICE_NAME}
|
|
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
|
|
- flame.icon=https://cdn.jsdelivr.net/gh/selfhst/icons/png/christmas-community.png
|
|
### Traefik Labels
|
|
- traefik.enable=true
|
|
- 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}`)
|
|
### Monitor with uptime-kuma
|
|
- kuma.monitoring.group.name=Docker Containers
|
|
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
|
|
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
|
|
- kuma.${SERVICE_NAME}.docker.type=docker
|
|
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
|
|
- kuma.${SERVICE_NAME}.docker.docker_host=1
|
|
- 'kuma.${SERVICE_NAME}.docker.tag_names=[{"name": "docker_tag"}]'
|
|
|
|
networks:
|
|
traefik_network:
|
|
external: true |