-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (46 loc) · 1.14 KB
/
docker-compose.yaml
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
53
version: "3"
services:
nginx:
image: nginx:1.13-alpine
ports:
- 80:80
volumes:
- .:/usr/share/nginx/html
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
php:
image: php:7.1-fpm-alpine
volumes:
- .:/usr/share/nginx/html
mysql:
image: mysql:5.7
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=pass
- MYSQL_DATABASE=web
- MYSQL_USER=web
- MYSQL_PASSWORD=pass
volumes:
- ./docker/volumes/mysql:/var/lib/mysql
redis:
image: redis:3.2-alpine
ports:
- 6379:6379
volumes:
- ./docker/volumes/redis:/var/lib/redis
memcached:
image: memcached:1.4-alpine
ports:
- 11211:11211
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.6
ports:
- 8080:80
environment:
- PMA_HOST=mysql
- PMA_USER=web
- PMA_PASSWORD=pass
mailhog:
image: mailhog/mailhog:v1.0.0
ports:
- 8025:8025