-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yml
118 lines (104 loc) · 3.65 KB
/
docker-compose.override.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: '2'
# included by default along with docker-compose.yml
volumes:
pgdata:
services:
nginx:
environment:
JWT_SECRET: dev secret
SERVER_NAME: localhost
SSL_CERTIFICATE: /ssl/localhost.cert
SSL_CERTIFICATE_KEY: /ssl/localhost.key
ports:
- "4430:443"
volumes:
- ./nginx/hugo-packet:/srv/hugo-packet:ro
- ./nginx/ssl:/ssl:ro
hugo:
environment:
CORS_ORIGIN: http://localhost:8080,http://localhost:9090
DATABASE_URL: postgres://hugo:pwd@postgres:5432/api
JWT_SECRET: dev secret
SESSION_SECRET: dev secret
NODE_ENV: development
links:
- postgres
volumes:
- ./hugo/lib:/usr/src/app/lib:ro
- ./hugo/app.js:/usr/src/app/app.js:ro
- ./hugo/server.js:/usr/src/app/server.js:ro
entrypoint: npm run-script start:autoreload
members:
environment:
CORS_ORIGIN: http://localhost:8080,http://localhost:9090
DATABASE_URL: postgres://members:pwd@postgres:5432/api
DEBUG: members:*
SESSION_SECRET: dev secret
SLACK_ORG: worldcon75
SLACK_REQ_MEMBER: 'true'
SLACK_TOKEN:
STRIPE_SECRET_APIKEY: sk_test_UpvFvoRkiAtLyZzGK6gA6tRn
NODE_ENV: development
links:
- kyyhky
- tuohi
- postgres
volumes:
- ./members/lib:/usr/src/app/lib:ro
- ./members/app.js:/usr/src/app/app.js:ro
- ./members/static:/usr/src/app/static:ro
entrypoint: npm run-script start:autoreload
art:
environment:
CORS_ORIGIN: http://localhost:8080,http://localhost:9090
DATABASE_URL: postgres://art:pwd@postgres:5432/api
SESSION_SECRET: dev secret
NODE_ENV: development
links:
- postgres
volumes:
- ./art/app.js:/usr/src/app/app.js:ro
- ./art/errors.js:/usr/src/app/errors.js:ro
- ./art/queries.js:/usr/src/app/queries.js:ro
- ./art/routes.js:/usr/src/app/routes.js:ro
entrypoint: npm run-script start:autoreload
tuohi:
environment:
VERBOSE_FILL: 'true'
NODE_ENV: development
kyyhky:
environment:
DEBUG: kyyhky:*,sendgrid
LOGIN_URI_ROOT: https://localhost:4430/#/login
SENDGRID_APIKEY:
NODE_ENV: development
volumes:
- ./kyyhky/lib:/usr/src/app/lib:ro
- ./kyyhky/server.js:/usr/src/app/server.js:ro
- ./kyyhky/templates:/usr/src/app/templates:ro
entrypoint: ./wait-for-it.sh redis:6379 -- npm run-script start:autoreload
postgres:
image: postgres:9.5
environment:
PGDATA: /pgdata
PGUSER: admin
POSTGRES_DB: api
POSTGRES_USER: admin
POSTGRES_PASSWORD: adminpwd
KANSA_PG_PASSWORD: pwd
HUGO_PG_PASSWORD: pwd
RAAMI_PG_PASSWORD: pwd
expose:
- "5432"
volumes:
- pgdata:/pgdata
- ./postgres/init/10-admin-init.sql:/docker-entrypoint-initdb.d/10-admin-init.sql:ro
- ./postgres/init/19-install-damm.sql:/docker-entrypoint-initdb.d/19-install-damm.sql:ro
- ./postgres/init/20-kansa-init.sql:/docker-entrypoint-initdb.d/20-kansa-init.sql:ro
- ./postgres/init/25-day-passes.sql:/docker-entrypoint-initdb.d/25-day-passes.sql:ro
- ./postgres/init/25-payments.sql:/docker-entrypoint-initdb.d/25-payments.sql:ro
- ./postgres/init/25-public-data.sql:/docker-entrypoint-initdb.d/25-public-data.sql:ro
- ./postgres/init/30-hugo-init.sql:/docker-entrypoint-initdb.d/30-hugo-init.sql:ro
- ./postgres/init/40-raami-init.sql:/docker-entrypoint-initdb.d/40-raami-init.sql:ro
- ./postgres/init/90-dev-people-init.sql:/docker-entrypoint-initdb.d/90-dev-people-init.sql:ro
- ./postgres/init/95-hugo-finalists-worldcon75.sql:/docker-entrypoint-initdb.d/95-hugo-finalists-worldcon75.sql:ro