Fix DB initialization, upgrade Node to 22 for SQLite, and support DB_PATH
This commit is contained in:
+3
-2
@@ -12,8 +12,8 @@ services:
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
- DB_TYPE=postgres
|
||||
- DB_HOST=10.99.0.3
|
||||
- DB_TYPE=sqlite
|
||||
- DB_PATH=/app/data/dental_images.db
|
||||
- DB_PORT=5432
|
||||
- DB_USER=clube67
|
||||
- DB_PASSWORD=clube67_db_pass_9903
|
||||
@@ -23,6 +23,7 @@ services:
|
||||
volumes:
|
||||
- ./uploads:/app/uploads
|
||||
- ./processed:/app/processed
|
||||
- ./data:/app/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user