premier commit
This commit is contained in:
25
docker-compose.yaml
Executable file
25
docker-compose.yaml
Executable file
@@ -0,0 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: php:8.2-apache
|
||||
container_name: cms-web
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./public:/var/www/html
|
||||
- ./includes:/var/www/html/includes
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mysql:latest
|
||||
container_name: cms-db
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
MYSQL_DATABASE: cms_simplifie
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
|
||||
Reference in New Issue
Block a user