-
Notifications
You must be signed in to change notification settings - Fork 16
/
dashboard-dns-compose.yaml
95 lines (94 loc) · 2.42 KB
/
dashboard-dns-compose.yaml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: '3.5'
services:
coordinator:
image: digitalcredentials/workflow-coordinator:0.1.0
environment:
- ENABLE_STATUS_SERVICE=false
- PUBLIC_EXCHANGE_HOST=https://${HOST}/api
- TENANT_TOKEN_LEF_TEST=UNPROTECTED
ports:
- "4005:4005"
signing:
image: digitalcredentials/signing-service:0.2.0
environment:
- TENANT_SEED_LEF_TEST=z1AeiPT496wWmo9BG2QYXeTusgFSZPNG3T9wNeTtjrQ3rCB
transactions:
image: digitalcredentials/transaction-service:0.1.1
payload:
image: digitalcredentials/dashboard:0.1.1
depends_on:
- coordinator
- redis
- mongo
environment:
- COORDINATOR_URL=http://coordinator:4005
- REDIS_URL=redis
- REDIS_PORT=6379
- MONGODB_URI=mongodb://root:example@mongo:27017/
- PAYLOAD_SECRET=aaaaaaaaaaaaaaaaaaaaaaaa
- TENANT_NAME=lef_test
- SMTP_HOST=somehost
- SMTP_USER=somename
- SMTP_PASS=somepass
- EMAIL_FROM=Digital Credentials Consortium <[email protected]>
- CLAIM_PAGE_URL=https://${HOST}/claim
- PAYLOAD_PUBLIC_SERVER_URL=https://${HOST}
- VIRTUAL_HOST=${HOST}
- VIRTUAL_PATH=/
- VIRTUAL_PORT=3000
- LETSENCRYPT_HOST=${HOST}
ports:
- "3000:3000"
claim-page:
image: digitalcredentials/admin-dashboard-claim-page:1.0.0
environment:
- VIRTUAL_HOST=${HOST}
- VIRTUAL_PATH=/claim
- VIRTUAL_DEST=/
- VIRTUAL_PORT=8080
- PUBLIC_PAYLOAD_URL=https://${HOST}/api
- LETSENCRYPT_HOST=${HOST}
depends_on:
- payload
ports:
- "8080:8080"
redis:
image: redis:alpine
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- "6379:6379"
mongo:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
volumes:
- mongo_data:/data/db
nginx-proxy:
image: nginxproxy/nginx-proxy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- html:/usr/share/nginx/html
- certs:/etc/nginx/certs
- vhost:/etc/nginx/vhost.d
nginx-proxy-acme:
image: nginxproxy/acme-companion
volumes_from:
- nginx-proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- acme:/etc/acme.sh
environment:
volumes:
transactions:
mongo_data:
vhost:
html:
certs:
acme: