You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
mariadb:
|
|
image: mariadb:latest
|
|
volumes:
|
|
- ./data/mysql:/var/lib/mysql
|
|
- ./data/log/mysql:/var/log/mysql
|
|
expose:
|
|
- 3306
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=MyPassWord48
|
|
|
|
mailcatcher:
|
|
build: mailcatcher
|
|
expose:
|
|
- 25
|
|
ports:
|
|
- 1080:1080
|
|
|
|
php:
|
|
build: phpfpm
|
|
volumes:
|
|
- ~/public:/var/www/html
|
|
- ./data/log/xdebug:/var/log/xdebug
|
|
- ./data/log/php:/var/log/php
|
|
- ./config/php.conf:/usr/local/etc/php-fpm.d/zzz-settings.conf
|
|
- ./config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
|
- ./config/ssmtp.conf:/etc/ssmtp/ssmtp.conf
|
|
environment:
|
|
- XDEBUG_CONFIG=remote_enable=1 remote_autostart=1
|
|
links:
|
|
- mariadb
|
|
- mailcatcher
|
|
|
|
nginx:
|
|
image: nginx:latest
|
|
volumes:
|
|
- ~/public:/var/www/html
|
|
- ./data/log/nginx:/var/log/nginx
|
|
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
|
ports:
|
|
- 80:80
|
|
environment:
|
|
- NGINX_HOST=localhost
|
|
- NGINX_PORT=80
|
|
links:
|
|
- php
|