-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-teststack.yml
52 lines (46 loc) · 1.12 KB
/
docker-compose-teststack.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
version: '2'
services:
datatest:
extends:
file: docker-compose-common.yml
service: datatest
dbtest:
extends:
file: docker-compose-common.yml
service: db
dbclinicaltest:
extends:
file: docker-compose-common.yml
service: db
dbreportingtest:
extends:
file: docker-compose-common.yml
service: db
cachetest:
extends:
file: docker-compose-common.yml
service: cache
runservertest:
extends:
file: docker-compose-common.yml
service: runserver
volumes_from:
- datatest
command: runserver
environment:
- DJANGO_FIXTURES=test
- ALLOWED_HOSTS=*
- CACHESERVER=cachetest
- DBSERVER=dbtest
- CLINICAL_DBSERVER=dbclinicaltest
- REPORTING_DBSERVER=dbreportingtest
# https://developers.google.com/recaptcha/docs/faq
- RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
- RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
depends_on:
- dbtest
- dbclinicaltest
- dbreportingtest
- cachetest
ports:
- "18000:8000"