Skip to content

Commit

Permalink
Merge pull request #285 from 0xlildoudou/fix/docker-compose
Browse files Browse the repository at this point in the history
fix(docker): update docker-compose.yml and bup mysql 8 --> 9
  • Loading branch information
dbarzin authored Mar 4, 2025
2 parents 9282cea + c9a8572 commit d42aa95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
21 changes: 10 additions & 11 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
version: "3.7"
services:
web:
deming:
build:
context: .
dockerfile: Dockerfile_web
dockerfile: Dockerfile
environment:
### PLEASE DISABLE AFTER THE FIRST RUN FOR OPTIMIZATION PRODUCTION
- DB_SLEEP=10
Expand All @@ -17,19 +16,19 @@ services:
- INITIAL_DB=FR #EN OR FR
- TZ=Europe/Paris
volumes:
- ./custom/.env:/var/www/deming/.env
- ./custom/custom_postfix_main.cf:/etc/postfix/main.cf
- ./custom/custom_postfix_mailname:/etc/mailname
- ./custom/deming.php:/var/www/deming/config/deming.php
- ./custom/Kernel.php:/var/www/deming/app/Console/Kernel.php
- ./custom/app.php:/var/www/deming/config/app.php
- .env:/var/www/deming/.env
- ./docker/custom/custom_postfix_main.cf:/etc/postfix/main.cf
- ./docker/custom/custom_postfix_mailname:/etc/mailname
- ./docker/custom/deming.php:/var/www/deming/config/deming.php
- ./docker/custom/Kernel.php:/var/www/deming/app/Console/Kernel.php
- ./docker/custom/app.php:/var/www/deming/config/app.php
ports:
- 80:80
- 80:8000
depends_on:
mysql:
condition: service_healthy
mysql:
image: mysql:8
image: mysql:9
environment:
MYSQL_DATABASE: 'deming'
MYSQL_USER: 'deming_user'
Expand Down

0 comments on commit d42aa95

Please sign in to comment.