Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
unraid-monitor:
|
||||
build: .
|
||||
container_name: unraid-monitor
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "10000:10000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- JWT_SECRET=${JWT_SECRET:-change-this-to-a-secure-random-string}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- unraid-monitor
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:4000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
networks:
|
||||
unraid-monitor:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user