docker-compose-collection/wishlist/docker-compose.yml
2025-06-09 13:44:28 +00:00

38 lines
No EOL
1.4 KiB
YAML

---
services:
christmas-community:
image: wingysam/christmas-community:latest
container_name: wishlist
restart: always
volumes:
- ./data:/data
networks:
- traefik
environment:
SMILE: 'true'
# 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"
labels:
- "traefik.enable=true"
- "traefik.http.routers.wishlist.entrypoints=http"
- "traefik.http.routers.wishlist.rule=Host(`${WISHLIST_URL}`)"
- "traefik.http.middlewares.wishlist-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.wishlist.middlewares=wishlist-https-redirect"
- "traefik.http.routers.wishlist-secure.entrypoints=https"
- "traefik.http.routers.wishlist-secure.rule=Host(`${WISHLIST_URL}`)"
- "traefik.http.routers.wishlist-secure.tls=true"
- "traefik.http.routers.wishlist-secure.service=wishlist"
- "traefik.http.services.wishlist.loadbalancer.server.port=80"
- "traefik.docker.network=traefik"
networks:
traefik:
external: true