This commit is contained in:
32
NOC/compose.yml
Normal file
32
NOC/compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
#Warranty tacker
|
||||
#https://github.com/sassanix/Warracker
|
||||
warracker:
|
||||
image: ghcr.io/sassanix/warracker/main:latest
|
||||
ports:
|
||||
- "8005:80"
|
||||
volumes:
|
||||
- warracker_uploads:/data/uploads
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
warrackerdb:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
warrackerdb:
|
||||
image: postgres:15-alpine
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
warracker_uploads:
|
||||
Reference in New Issue
Block a user