chore: update .gitignore to include data directory and modify docker-compose.yml for external volume mapping
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 20s

This commit is contained in:
Julien Froidefond
2025-12-11 07:58:58 +01:00
parent 434043041c
commit e2232ca595
2 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ services:
context: .
dockerfile: Dockerfile
ports:
- "3009:3000"
- '3009:3000'
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/data/dev.db
@@ -12,8 +12,7 @@ services:
- AUTH_TRUST_HOST=true
- AUTH_URL=${AUTH_URL:-https://workshop-manager.julienfroidefond.com}
volumes:
- ./data:/app/data
- /Volumes/EXTERNAL_USB/sites/workshop-manager/data:/app/data
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=false"
- 'com.centurylinklabs.watchtower.enable=false'