34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
###############################################################
|
|
# 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
|
|
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"
|
|
|