Files
TaxHacker/docker-compose.yml
2025-05-19 14:38:46 +02:00

36 lines
811 B
YAML

services:
app:
image: ghcr.io/vas3k/taxhacker:latest
ports:
- "7331:7331"
environment:
- NODE_ENV=production
- SELF_HOSTED_MODE=true
- UPLOAD_PATH=/app/data/uploads
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/taxhacker
volumes:
- ./data:/app/data
restart: unless-stopped
depends_on:
- postgres
logging:
driver: "local"
options:
max-size: "100M"
max-file: "3"
postgres:
image: postgres:17-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=taxhacker
volumes:
- ./pgdata:/var/lib/postgresql/data
restart: unless-stopped
logging:
driver: "local"
options:
max-size: "100M"
max-file: "3"