-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
62 lines (55 loc) · 1.22 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
version: '2'
# For full config, see also docker-compose.{override,prod}.yml
services:
nginx:
build: ./nginx
links:
- hugo
- members
- art
entrypoint: /bin/bash -c "envsubst '$$SERVER_NAME $$SSL_CERTIFICATE $$SSL_CERTIFICATE_KEY' < /nginx.conf.template > /usr/local/openresty/nginx/conf/nginx.conf && /usr/local/openresty/bin/openresty -g 'daemon off;'"
hugo:
build: ./hugo
entrypoint: npm start
links: []
expose:
- "3000"
members:
build: ./members
entrypoint: npm start
links:
- kyyhky
- tuohi
expose:
- "3000"
volumes:
# Use static data from the filesystem here
- ./members/static:/usr/src/app/static:ro
art:
build: ./art
entrypoint: npm start
links: []
expose:
- "3000"
tuohi:
image: eeemeli/pdf-form-fill:0.2
expose:
- "3000"
environment:
PDF_TEMPLATE_DIR: /templates
volumes:
- ./tuohi/templates:/templates:ro
kyyhky:
build: ./kyyhky
entrypoint: ./wait-for-it.sh redis:6379 -- npm start
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
links:
- redis
expose:
- "3000"
redis:
image: redis:3.2
expose:
- "6379"