Modélisation de données

This commit is contained in:
Etienne GILLE
2026-02-13 16:04:01 +01:00
parent a9a8256137
commit e3eb424290
19 changed files with 468 additions and 0 deletions

33
docker-compose.yml Normal file
View File

@@ -0,0 +1,33 @@
services:
app:
build: .
volume:
- static:/usr/src/app/static
- media:/usr/src/app/media
env_file: .env
proxy:
image: nginx:latest
volume:
- type: volume
source: static
target: /usr/share/nginx/html/static
read-only: true
volume:
nocopy: true
- type: volume
source: media
target: /usr/share/nginx/html/media
read-only: true
volume:
nocopy: true
ports:
- "8080:80"
db:
image: mysql
volume:
- mysql_db:/var/lib/mysql
env_file: .env
volumes:
static:
media:
mysql_db: