Téléverser les fichiers vers "/"

This commit is contained in:
2026-06-03 08:52:09 +00:00
parent d37151273f
commit 709826a53b
3 changed files with 59 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
smarthome_api:
build: .
container_name: smarthome_api
ports:
- "8080:80"
depends_on:
- smarthome_db
networks:
- smarthome_network
smarthome_db:
image: mariadb:10.11
container_name: smarthome_db
environment:
MYSQL_ROOT_PASSWORD: root123
MYSQL_DATABASE: smarthome
MYSQL_USER: smarthome_user
MYSQL_PASSWORD: SH_LaSalle_SD8
volumes:
- smarthome_data:/var/lib/mysql
networks:
- smarthome_network
networks:
smarthome_network:
driver: bridge
volumes:
smarthome_data: