Skip to content

Commit d42aa95

Browse files
authored
Merge pull request #285 from 0xlildoudou/fix/docker-compose
fix(docker): update docker-compose.yml and bup mysql 8 --> 9
2 parents 9282cea + c9a8572 commit d42aa95

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker/docker-compose.yml

docker/docker-compose.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
version: "3.7"
21
services:
3-
web:
2+
deming:
43
build:
54
context: .
6-
dockerfile: Dockerfile_web
5+
dockerfile: Dockerfile
76
environment:
87
### PLEASE DISABLE AFTER THE FIRST RUN FOR OPTIMIZATION PRODUCTION
98
- DB_SLEEP=10
@@ -17,19 +16,19 @@ services:
1716
- INITIAL_DB=FR #EN OR FR
1817
- TZ=Europe/Paris
1918
volumes:
20-
- ./custom/.env:/var/www/deming/.env
21-
- ./custom/custom_postfix_main.cf:/etc/postfix/main.cf
22-
- ./custom/custom_postfix_mailname:/etc/mailname
23-
- ./custom/deming.php:/var/www/deming/config/deming.php
24-
- ./custom/Kernel.php:/var/www/deming/app/Console/Kernel.php
25-
- ./custom/app.php:/var/www/deming/config/app.php
19+
- .env:/var/www/deming/.env
20+
- ./docker/custom/custom_postfix_main.cf:/etc/postfix/main.cf
21+
- ./docker/custom/custom_postfix_mailname:/etc/mailname
22+
- ./docker/custom/deming.php:/var/www/deming/config/deming.php
23+
- ./docker/custom/Kernel.php:/var/www/deming/app/Console/Kernel.php
24+
- ./docker/custom/app.php:/var/www/deming/config/app.php
2625
ports:
27-
- 80:80
26+
- 80:8000
2827
depends_on:
2928
mysql:
3029
condition: service_healthy
3130
mysql:
32-
image: mysql:8
31+
image: mysql:9
3332
environment:
3433
MYSQL_DATABASE: 'deming'
3534
MYSQL_USER: 'deming_user'

0 commit comments

Comments
 (0)