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
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 20s
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -41,3 +41,6 @@ yarn-error.log*
|
||||
next-env.d.ts
|
||||
|
||||
/src/generated/prisma
|
||||
|
||||
# data
|
||||
data/
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user