-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.34 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: "3.1"
services:
mailhog:
image: mailhog/mailhog:latest
container_name: wa71-mailhog
ports:
- "8101:8025"
mariadb:
image: mariadb:10.1
container_name: wa71-mariadb
volumes:
- ../mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=webasyst
- MYSQL_DATABASE=wa
- MYSQL_USER=webasyst
- MYSQL_PASSWORD=webasyst
ports:
- "8103:3306"
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
environment:
- PMA_HOST=mariadb
- PMA_USER=webasyst
- PMA_PASSWORD=webasyst
ports:
- "8104:80"
webserver:
image: nginx:alpine
container_name: wa71-webserver
working_dir: /webasyst
volumes:
- ../webasyst:/webasyst
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8100:80"
php-fpm:
build: php-fpm
container_name: wa71-php-fpm
working_dir: /webasyst
volumes:
- ../webasyst:/webasyst
- ./php-fpm/php-ini-overrides.ini:/etc/php/7.1/fpm/conf.d/99-overrides.ini