Init project

This commit is contained in:
Matthieu LEMAIRE
2025-10-19 19:02:25 +02:00
commit fea5629530
10 changed files with 130 additions and 0 deletions

25
launch-dockers.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
docker stop CMS_mysql
docker stop CMS_php
docker rm CMS_mysql
docker rm CMS_php
docker network rm CMS-bridge
docker network create -d bridge CMS-bridge
cd bdd
docker build -t cms_mysql .
docker run -d --name CMS_mysql -p 3306:3306 --network=CMS-bridge cms_mysql:latest
cd ..
docker build -t cms_php .
docker run -d --name CMS_php -p 8080:80 --network=CMS-bridge cms_php:latest