-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
77 lines (64 loc) · 1.82 KB
/
docker-compose.dev.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
version: "3.9"
services:
couchdb:
build:
context: couchdb
dockerfile: Dockerfile
# dockerfile relative path is from build context
volumes:
- type: volume
source: couchdb-data
target: /opt/couchdb/data
ports:
- "0.0.0.0:${COUCHDB_EXTERNAL_PORT}:5984"
environment:
- COUCHDB_USER=admin
- COUCHDB_PASSWORD
networks:
- conductor-local-dev
conductor:
build:
context: .
command: "npm run watch"
volumes:
- .:/app
ports:
- "0.0.0.0:${CONDUCTOR_EXTERNAL_PORT}:${CONDUCTOR_INTERNAL_PORT}"
networks:
- conductor-local-dev
environment:
# note that some of these are pulled from the environment (.env)
# while others get values here if the value is known for
# docker-compose setup
- PROFILE_NAME
- CONDUCTOR_INSTANCE_NAME
- COUCHDB_USER=admin
- COUCHDB_PASSWORD
# Where is this server running
- CONDUCTOR_INTERNAL_PORT
- CONDUCTOR_EXTERNAL_PORT
- COUCHDB_PUBLIC_URL
- COUCHDB_INTERNAL_URL
# https://faimsproject.atlassian.net/wiki/spaces/FAIMS3/pages/151846960/FAIMS3+Conductor+build+run+environment+variables
# optional
- CLUSTER_ADMIN_GROUP_NAME
- FAIMS_COOKIE_SECRET
# public URL for accessing Conductor & CouchDB
- CONDUCTOR_PUBLIC_URL
- COMMIT_VERSION
- CONDUCTOR_AUTH_PROVIDERS
- CONDUCTOR_EMAIL_HOST_NAME
- CONDUCTOR_EMAIL_HOST_CONFIG
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- CONDUCTOR_EMAIL_FROM_ADDRESS
- CONDUCTOR_EMAIL_TRANSPORTER
- DEVELOPER_MODE
# URLs for apps for this instance
- WEB_APP_PUBLIC_URL
- ANDROID_APP_PUBLIC_URL
- IOS_APP_PUBLIC_URL
networks:
conductor-local-dev: {}
volumes:
couchdb-data: