-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (66 loc) · 2.39 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
68
69
70
71
72
73
74
75
76
77
78
79
80
version: "3.9"
services:
couchdb:
image: couchdb:3@sha256:d341311cf03840dfb96a7c1bcf7ef5b6a6a4d2ac53e01e7a5095329cbe8cd37c
volumes:
- type: volume
source: couchdb-data
target: /opt/couchdb/data
# mount local configuration containing admin user and keys
- './couchdb/:/opt/couchdb/etc/local.d'
ports:
- "0.0.0.0:${COUCHDB_EXTERNAL_PORT}:5984"
# volumes:
# - ./couchdb/local.ini:/opt/couchdb/etc/local.d/local.ini
environment:
- COUCHDB_USER=admin
- COUCHDB_PASSWORD
conductor:
image: ghcr.io/faims/faims3-conductor:main
command: "npm start"
ports:
- "0.0.0.0:${CONDUCTOR_EXTERNAL_PORT}:${CONDUCTOR_INTERNAL_PORT}"
volumes:
# mount local configuration containing signing keys shared with couchdb
- './keys:/app/keys:ro'
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 and COUCHDB_PASSWORD used by conductor as well
- COUCHDB_USER=admin
- COUCHDB_PASSWORD
- COUCHDB_INTERNAL_URL
# Where is this server running
- CONDUCTOR_EXTERNAL_PORT
- CONDUCTOR_INTERNAL_PORT
# Needed for conductor to talk to couchDB
- COUCHDB_PUBLIC_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
# https://faimsproject.atlassian.net/wiki/spaces/FAIMS3/pages/151846960/FAIMS3+Conductor+build+run+environment+variables#Authentication-Provider-Specific-environment-variables
- DATACENTRAL_GROUP_PREFIX
- DATACENTRAL_CLIENT_ID
- DATACENTRAL_CLIENT_SECRET
- HAVE_DATACENTRAL_MANAGE_ROLES=true
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- CONDUCTOR_EMAIL_FROM_ADDRESS
- CONDUCTOR_EMAIL_TRANSPORTER
#
# URLs for apps for this instance
- WEB_APP_PUBLIC_URL
- ANDROID_APP_PUBLIC_URL
- IOS_APP_PUBLIC_URL
volumes:
couchdb-data: