Utilise des submodules plutot que des images issues de docker hub.

This commit is contained in:
2018-11-05 14:17:23 +01:00
parent a936052dd0
commit 3ed355a515
4 changed files with 12 additions and 4 deletions

View File

@@ -9,18 +9,18 @@ mariadb:
- MYSQL_ROOT_PASSWORD=MyPassWord48
mailcatcher:
image: daiko/mailcatcher:latest
build: mailcatcher
expose:
- 25
ports:
- 1080:1080
php:
image: daiko/phpfpm-dev:latest
build: phpfpm-dev
expose:
- 9000
volumes:
- ~/Public:/var/www/html
- ~/public:/var/www/html
- ~/log/xdebug:/var/log/xdebug
- ~/log/php:/var/log/php
- ./config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
@@ -33,7 +33,7 @@ php:
nginx:
image: nginx:latest
volumes:
- ~/Public:/var/www/html
- ~/public:/var/www/html
- ~/log/nginx:/var/log/nginx
- ./config/nginx.conf:/etc/nginx/nginx.conf
ports: