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:
2026-02-21 21:12:23 +01:00
parent 041b96aa60
commit d79f94e948
2 changed files with 7 additions and 7 deletions

8
.gitignore vendored
View File

@@ -1,10 +1,12 @@
**/__pycache__/
**/*.pyc
**/*.pyo
.env*
!.env.example
data/*.db
data/uploads/
backend/__pycache__/
backend/.venv/
backend/*.pyc
frontend/node_modules/
frontend/dist/
.env
*.egg-info/
.pytest_cache/

View File

@@ -5,10 +5,8 @@ services:
- ./data:/data
ports:
- "8000:8000"
environment:
- DATABASE_URL=sqlite:////data/jardin.db
- UPLOAD_DIR=/data/uploads
- CORS_ORIGINS=http://localhost
env_file:
- .env
restart: unless-stopped
frontend: