Add Docker support with Gunicorn, SQLite volume persistence, and optional PostgreSQL
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,4 +10,7 @@ ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0,testserver
|
||||
|
||||
# CORS (the accounting frontend dev server runs on port 5176)
|
||||
CORS_ALLOW_ALL_ORIGINS=True
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5176,http://127.0.0.1:5176
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5176,http://127.0.0.1:5176,http://localhost:3006,http://127.0.0.1:3006
|
||||
|
||||
# Docker: persist SQLite in a named volume
|
||||
# SQLITE_PATH=/data/db.sqlite3
|
||||
|
||||
Reference in New Issue
Block a user