chore: remove port mapping for zipline service and add Traefik labels in compose.yaml
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
0b4a122311
commit
1dd26812b5
@ -21,8 +21,6 @@ services:
|
||||
|
||||
zipline:
|
||||
image: ghcr.io/diced/zipline
|
||||
ports:
|
||||
- '3000:3000'
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
@ -36,6 +34,14 @@ services:
|
||||
- '/mnt/appdata/zipline/uploads:/zipline/uploads'
|
||||
- '/mnt/appdata/zipline/public:/zipline/public'
|
||||
- '/mnt/appdata/zipline/themes:/zipline/themes'
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.zipline.entrypoints=websecure"
|
||||
- "traefik.http.routers.zipline.rule=Host(`zipline.castaldifamily.com`)"
|
||||
- "traefik.http.routers.zipline.tls=true"
|
||||
- "traefik.http.routers.zipline.tls.certresolver=cloudflare"
|
||||
- "traefik.http.services.zipline.loadbalancer.server.port=3000"
|
||||
|
||||
healthcheck:
|
||||
test: ['CMD', 'wget', '-q', '--spider', 'http://localhost:3000/api/healthcheck']
|
||||
interval: 15s
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user