mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
ci: docker build
This commit is contained in:
23
docker-compose.build.yml
Normal file
23
docker-compose.build.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- UPLOAD_PATH=/app/uploads
|
||||
- NODE_ENV=production
|
||||
- DATABASE_URL=file:/app/data/db.sqlite
|
||||
volumes:
|
||||
- ./uploads:/app/uploads
|
||||
- ./data:/app/data
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "local"
|
||||
options:
|
||||
max-size: "100M"
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
app_data:
|
||||
Reference in New Issue
Block a user