forked from GEWIS/gewisweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (48 loc) · 1.19 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:
web:
build: docker
volumes:
- .:/code
- ./docker/php.ini:/usr/local/etc/php/conf.d/default.ini
#- ./docker/php-fpm.conf:/usr/local/etc/php-fpm.conf
environment:
APP_ENV: development
networks:
- gewisweb
nginx:
image: nginx:1.10
volumes:
- .:/code
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- web
networks:
- gewisweb
webmysql:
image: mysql:5.5
volumes:
- .mysql/dev:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: gewis
MYSQL_DATABASE: gewis
MYSQL_USER: gewis
MYSQL_PASSWORD: gewis
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
networks:
- gewisweb
myadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- webmysql
environment:
PMA_HOST: webmysql
PMA_USER: gewis
PMA_PASSWORD: gewis
volumes:
- /sessions
networks:
- gewisweb
networks:
gewisweb:
driver: bridge