mailwizz-mailhog:
image: phpdockerio/mailhog:latest
container_name: mailwizz-mailhog
ports:
- "8025:8025"
- "1025:1025"
mailwizz-redis:
image: redis:4.0
container_name: mailwizz-redis
ports:
- "6379:6379"
mailwizz-mysql:
image: mysql:5.5
container_name: mailwizz-mysql
environment:
- MYSQL_ROOT_PASSWORD=mailwizz
- MYSQL_DATABASE=mailwizz
- MYSQL_USER=mailwizz
- MYSQL_PASSWORD=mailwizz
- MYSQL_PORT=3306
- MYSQL_HOST=localhost
mailwizz-webserver:
image: phpdockerio/nginx:latest
container_name: mailwizz-webserver
volumes:
- ../web:/var/www/web
- ./ssl:/etc/nginx/ssl
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
- "443:443"
links:
- mailwizz-php
mailwizz-php:
build: .
dockerfile: php/Dockerfile
container_name: mailwizz-php
volumes:
- ../web:/var/www/web
links:
- mailwizz-mysql
- mailwizz-mailhog
- mailwizz-redis
environment:
PHP_php5enmod: 'bcmath gd gmp intl ldap mbstring mysqli pcntl pdo_mysql zip'
PHP__post_max_size: '128M'
PHP__upload_max_filesize: '128M'
PHP__memory_limit: '128M'
mailwizz-phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: mailwizz-phpmyadmin
environment:
- PMA_ARBITRARY=1
- PMA_HOST=mailwizz-mysql
restart: always
ports:
- 81:80
volumes:
- /sessions
links:
- mailwizz-mysql