Initial commit: Phil Dashboard
This commit is contained in:
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
container_name: phil-dashboard
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
- DB_PATH=/data/phil.db
|
||||
- API_KEY=phil-8f3k2m9x4p7q1w6n
|
||||
volumes:
|
||||
- phil-data:/data
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.phil-dashboard.rule=Host(\`phil.m32advisory.com\`)"
|
||||
- "traefik.http.routers.phil-dashboard.entrypoints=websecure"
|
||||
- "traefik.http.routers.phil-dashboard.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.phil-dashboard.loadbalancer.server.port=3000"
|
||||
networks:
|
||||
- traefik-public
|
||||
|
||||
volumes:
|
||||
phil-data:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
Reference in New Issue
Block a user