-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
63 lines (56 loc) · 960 Bytes
/
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
53
54
55
56
57
58
59
60
61
62
63
data:
image: debian:jessie
user: www-data
volumes:
- .:/var/www/
web:
image: nginx:1.7
ports:
- "8016:80"
- "44312:443"
links:
- php
volumes:
- docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
volumes_from:
- data
php:
image: louisbl/php:5.6-fpm
links:
- db
volumes_from:
- data
composer:
image: louisbl/composer
volumes_from:
- data
drush:
image: louisbl/php:5.6-cli
entrypoint: ["php", "../vendor/bin/drush.php", "-l", "http://web"]
command: ""
links:
- web
- db
volumes_from:
- data
db:
image: mysql:5.6
volumes:
- docker/db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root_password
MYSQL_DATABASE: database
MYSQL_USER: database
MYSQL_PASSWORD: database
varnish:
image: louisbl/varnish:4.0
ports:
- "8017:80"
links:
- web:backend
adminer:
image: louisbl/adminer:4.2.1
ports:
- "8015:80"
links:
- db