/
common-services.yml
102 lines (87 loc) · 1.64 KB
/
common-services.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# This common-services.yml definition holds all the image definitions and environment linking for the images.
# It is intended to use the docker-compose extends functionality to use these definitions to build a docker-compose file
lbhaproxy:
image: 'tutum/haproxy:0.2.4.1'
environment:
- MODE=tcp
- 'STATS_AUTH=spira:'
ports:
- '80:80'
- '1936:1936'
datavolume:
image: spira/docker-data
volumes:
- /data:/data
privileged: true
#logviewer:
# image: spira/docker-clarity
database:
image: postgres:9.4
env_file:
- .common.env
vanilladatabase:
image: mariadb:10.0
env_file:
- .common.env
cache:
image: redis
queue:
image: spira/docker-beanstalkd
queuerunner:
image: spira/docker-artisan-queue-runner
env_file:
- .common.env
mailcatcher:
image: schickling/mailcatcher
php:
image: spira/docker-phpfpm
env_file:
- .common.env
- .secret.env
privileged: true
#web:
# image: spira/docker-nginx
# expose:
# - "80"
# - "8080"
# - "8008"
# env_file:
# - .common.env
# privileged: true
api:
image: spira/docker-nginx-php
env_file:
- .common.env
- .secret.env
volumes:
- ../api:/data
expose:
- "8080"
ports:
- "8080:8080"
privileged: true
app:
image: spira/docker-nginx-php
env_file:
- .common.env
- .secret.env
volumes:
- ../app:/data
expose:
- "8081"
ports:
- "8081:8081"
privileged: true
devtools:
image: spira/docker-dev-tools
working_dir: /data
privileged: true
volumes:
- ../:/data
env_file:
- .common.env
- .secret.env
elasticsearch:
image: elasticsearch:1.7.1
env_file:
- .common.env