-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
52 lines (47 loc) · 1.29 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
52
version: '2'
services:
nginx:
image: jekakm/nginx-core:201802261
ports:
- "127.0.0.1:8000:80"
volumes:
- "./docker-configs/nginx.conf:/etc/nginx/sites-enabled/default"
- ".:/app:cached"
depends_on:
- "php"
php:
image: black15/portfolio:201908041
environment:
- "PHP_IDE_CONFIG=serverName=portfolio-docker"
volumes:
- "./docker-configs/php-fpm.ini:/etc/php5/fpm/php.ini"
- "./docker-configs/php-cli.ini:/etc/php5/cli/php.ini"
- ".:/app:cached"
depends_on:
- "mysql"
- "mailcatcher"
mysql:
image: jekakm/mysql-core:201802281
volumes:
- "mysqldata:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: qwerty
ports:
- "127.0.0.1:13306:3306"
mailcatcher:
image: jekakm/mailcatcher:201803011
ports:
- "127.0.0.1:1080:1080"
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_USER: root
PMA_PASSWORD: qwerty
ports:
- "127.0.0.1:6789:80"
depends_on:
- "mysql"
volumes:
mysqldata: