-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
67 lines (63 loc) · 1.83 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
version: '3'
services:
rails:
build:
context: '.'
args:
- 'SNPR_REV'
image: 'opensnp/rails'
ports:
- '8080:80'
volumes:
- './test/ssl:/etc/ssl'
- './test/letsencrypt:/etc/letsencrypt'
environment:
POSTGRES_URL: 'postgres://opensnp@postgres/opensnp'
REDIS_URL: 'redis://redis'
SECRET_KEY_BASE: foo
SECRET_TOKEN: bar
PLOS_API_KEY: foo
RECAPTCHA_SECRET_KEY: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
RECAPTCHA_SITE_KEY: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
MENDELEY_CONSUMER_KEY: foo
ERRBIT_API_KEY: foo
ERRBIT_HOST: localhost
OH_CLIENT_ID: foo
OH_CLIENT_SECRET: bar
SENTRY_DSN: foo
SENTRY_RELEASE_WEBHOOK: http://example.com/
SURVEY_EMAIL_USER: foobar
SURVEY_EMAIL_PASSWORD: foobar
SURVEY_EMAIL_ADDRESS: foobar
SURVEY_EMAIL_PORT: foobar
USER_DATA_SECRET_KEY: foobar
sidekiq:
build: './sidekiq'
image: 'opensnp/rails-sidekiq'
environment:
POSTGRES_URL: 'postgres://opensnp@postgres/opensnp'
REDIS_URL: 'redis://redis'
SECRET_KEY_BASE: foo
SECRET_TOKEN: bar
PLOS_API_KEY: foo
RECAPTCHA_SECRET_KEY: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
RECAPTCHA_SITE_KEY: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
MENDELEY_CONSUMER_KEY: foo
ERRBIT_API_KEY: foo
ERRBIT_HOST: localhost
OH_CLIENT_ID: foo
OH_CLIENT_SECRET: bar
SENTRY_DSN: foo
SENTRY_RELEASE_WEBHOOK: http://example.com/
SURVEY_EMAIL_USER: foobar
SURVEY_EMAIL_PASSWORD: foobar
SURVEY_EMAIL_ADDRESS: foobar
SURVEY_EMAIL_PORT: foobar
USER_DATA_SECRET_KEY: foobar
postgres:
image: 'postgres:9.5'
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: opensnp
redis:
image: 'redis:2.8'