32 lines
691 B
YAML
32 lines
691 B
YAML
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: |