feat: add Docker Compose configuration for weatherchannel service with Traefik integration
This commit is contained in:
parent
d81a75e1ea
commit
dda66e340b
35
nodes/heimdall/weatherchannel/compose.yaml
Normal file
35
nodes/heimdall/weatherchannel/compose.yaml
Normal 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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user