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/uploads/
|
||||
backend/__pycache__/
|
||||
backend/.venv/
|
||||
backend/*.pyc
|
||||
frontend/node_modules/
|
||||
frontend/dist/
|
||||
.env
|
||||
*.egg-info/
|
||||
.pytest_cache/
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user