-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
76 lines (76 loc) · 1.56 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
data:
container_name: data
image: ubuntu
volumes:
- ./app/:/var/www/kinetic
- ./data-root/tmp/media:/tmp/media
- ./data-root/tmp/repos:/tmp/repos
- ./data-root/tmp/db:/tmp/db
- ./data-root/home/root/.composer:$HOME/.composer
- ./data-root/home/root/.composer:/root/.composer
- ./data-root/home/root/.cache:$HOME/.cache
php:
container_name: php
image: pawlik/kinetic-php:5.5
volumes:
- ./etc/php5/fpm/conf.d/:/usr/local/etc/php/conf.d/
volumes_from:
- data
links:
- db
- redis
env_file:
- .env.defaults
- .env.local
redis:
container_name: redis
image: redis:3
db:
container_name: db
image: mariadb:5.5
environment:
MYSQL_ROOT_PASSWORD: root
volumes_from:
- data
env_file:
- .env.defaults
- .env.local
web:
image: nginx
container_name: web
volumes:
- ./etc/nginx/sites-available/:/etc/nginx/sites-enabled/
- ./etc/nginx/ssl/:/etc/nginx/ssl/
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./etc/nginx/magento_base:/etc/nginx/magento_base
volumes_from:
- data
ports:
- 443:443
links:
- php
node:
image: node:0.10.41
working_dir: /var/www/kinetic/
env_file:
- .env.defaults
- .env.local
totem:
extends: node
working_dir: /var/www/kinetic/tests/totem
container_name: totem
links:
- web
- web:kinetic.docker.dev
- mailcatcher
volumes_from:
- data
mocha:
extends: node
container_name: mocha
working_dir: /var/www/kinetic/
volumes_from:
- data
mailcatcher:
image: schickling/mailcatcher
container_name: mailcatcher