initial guardian config
initial guardian config
This commit is contained in:
parent
268e78ae96
commit
6cb0ab55b1
38
nodes/heimdall/guardian/compose.yaml
Normal file
38
nodes/heimdall/guardian/compose.yaml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
backend:
|
||||||
|
image: hydroshieldmkii/guardian-backend:${VERSION:-latest}
|
||||||
|
container_name: guardian-backend
|
||||||
|
networks:
|
||||||
|
- proxy-net
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
DATABASE_PATH: /app/data/plex-guard.db
|
||||||
|
volumes:
|
||||||
|
- /mnt/appdata/guardian/data:/app/data
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
frontend:
|
||||||
|
image: hydroshieldmkii/guardian-frontend:${VERSION:-latest}
|
||||||
|
container_name: guardian-frontend
|
||||||
|
networks:
|
||||||
|
- proxy-net
|
||||||
|
ports:
|
||||||
|
- "${PLEXGUARD_FRONTEND_PORT:-3000}:3000"
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
depends_on:
|
||||||
|
- backend
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.guardian.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.guardian.rule=Host(`guardian.castaldifamily.com`)"
|
||||||
|
- "traefik.http.routers.guardian.tls=true"
|
||||||
|
- "traefik.http.routers.guardian.tls.certresolver=cloudflare"
|
||||||
|
- "traefik.http.routers.guardian.service=guardian"
|
||||||
|
- "traefik.http.services.guardian.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-net:
|
||||||
|
external: true
|
||||||
Loading…
x
Reference in New Issue
Block a user