mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
BREAKING: postgres + saas
This commit is contained in:
@@ -7,8 +7,9 @@ services:
|
||||
- "7331:7331"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- SELF_HOSTED_MODE=true
|
||||
- UPLOAD_PATH=/app/data/uploads
|
||||
- DATABASE_URL=file:/app/data/db.sqlite
|
||||
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/taxhacker
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
restart: unless-stopped
|
||||
@@ -17,3 +18,20 @@ services:
|
||||
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
|
||||
ports:
|
||||
- "5432:5432"
|
||||
logging:
|
||||
driver: "local"
|
||||
options:
|
||||
max-size: "100M"
|
||||
max-file: "3"
|
||||
|
||||
Reference in New Issue
Block a user