forked from eresearchqut/trrf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-aloe.yml
48 lines (41 loc) · 973 Bytes
/
docker-compose-aloe.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
version: '3.7'
x-common-env-variables: &common-env-variables
DEBUG: 0
TEST_WAIT: 10
TEST_BROWSER: chrome
ALLOWED_HOSTS: '*'
TEST_APP_HOST: serverundertest
DBSERVER: dbtest
CLINICAL_DBSERVER: dbclinicaltest
REPORTING_DBSERVER: dbreportingtest
CACHESERVER: cachetest
CONSOLE_LOG_LEVEL: WARNING
AWS_XRAY_SDK_ENABLED: 0
services:
aloe_dev:
build:
context: .
dockerfile: docker/dev/Dockerfile
image: ${TRRF_IMAGE_NAME}
command: aloe
environment:
<<: *common-env-variables
WAIT_FOR_RUNSERVER: 1
RUNSERVER: serverundertest
volumes:
- .:/app
- ./data/aloe/dev:/data
aloe_prod:
build:
context: .
dockerfile: docker/dev/Dockerfile
image: ${TRRF_IMAGE_NAME}
command: aloe
environment:
<<: *common-env-variables
WAIT_FOR_UWSGI: 1
UWSGISERVER: serverundertest
TEST_APP_PORT: 9000
volumes:
- .:/app
- ./data/aloe/prod:/data