fix: docker-compose utilise env_file, .gitignore couvre sous-dossiers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -1,10 +1,12 @@
|
|||||||
|
**/__pycache__/
|
||||||
|
**/*.pyc
|
||||||
|
**/*.pyo
|
||||||
|
.env*
|
||||||
|
!.env.example
|
||||||
data/*.db
|
data/*.db
|
||||||
data/uploads/
|
data/uploads/
|
||||||
backend/__pycache__/
|
|
||||||
backend/.venv/
|
backend/.venv/
|
||||||
backend/*.pyc
|
|
||||||
frontend/node_modules/
|
frontend/node_modules/
|
||||||
frontend/dist/
|
frontend/dist/
|
||||||
.env
|
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
|||||||
@@ -5,10 +5,8 @@ services:
|
|||||||
- ./data:/data
|
- ./data:/data
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
environment:
|
env_file:
|
||||||
- DATABASE_URL=sqlite:////data/jardin.db
|
- .env
|
||||||
- UPLOAD_DIR=/data/uploads
|
|
||||||
- CORS_ORIGINS=http://localhost
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
Reference in New Issue
Block a user