mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix: pre-production fixes, add docker-compose.production.yml
This commit is contained in:
27
docker-compose.production.yml
Normal file
27
docker-compose.production.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
app:
|
||||
image: ghcr.io/vas3k/taxhacker:latest
|
||||
container_name: taxhacker_app
|
||||
networks:
|
||||
- taxhacker_network
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- UPLOAD_PATH=/app/data/uploads
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "127.0.0.1:7331:7331"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "100M"
|
||||
max-file: "3"
|
||||
|
||||
networks:
|
||||
taxhacker_network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user