diff --git a/wishlist/docker-compose.yml b/wishlist/docker-compose.yml new file mode 100644 index 0000000..2cf4a9a --- /dev/null +++ b/wishlist/docker-compose.yml @@ -0,0 +1,38 @@ +--- +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 \ No newline at end of file