feat: add Docker Compose configuration for weatherchannel service with Traefik integration

This commit is contained in:
nathan 2026-04-21 19:39:59 -04:00
parent d81a75e1ea
commit dda66e340b

View File

@ -0,0 +1,35 @@
###############################################################
# Networks
###############################################################
networks:
proxy-net:
name: proxy-net
external: true
###############################################################
# Services
###############################################################
services:
weatherchannel:
image: ghcr.io/mwood77/ws4kp-international
container_name: weatherchannel
restart: unless-stopped
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
start_period: 20s
timeout: 3s
interval: 15s
retries: 3
ports:
- 8080:8080
networks:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.weatherchannel.entrypoints=websecure"
- "traefik.http.routers.weatherchannel.rule=Host(`weather.castaldifamily.com`)"
- "traefik.http.routers.weatherchannel.tls=true"
- "traefik.http.routers.weatherchannel.tls.certresolver=cloudflare"
- "traefik.http.routers.weatherchannel.service=weatherchannel"
- "traefik.http.services.weatherchannel.loadbalancer.server.port=8080"