-
Notifications
You must be signed in to change notification settings - Fork 16
/
dashboard-status-compose.yaml
109 lines (109 loc) · 3.27 KB
/
dashboard-status-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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: dashboard
services:
coordinator:
image: digitalcredentials/workflow-coordinator:1.0.1
container_name: "ad-coordinator"
environment:
- ENABLE_STATUS_SERVICE=true
- PUBLIC_EXCHANGE_HOST=https://${HOST}/api
- TENANT_TOKEN_LEF_TEST=UNPROTECTED
- VIRTUAL_HOST=${HOST}
- VIRTUAL_PATH=/status
- VIRTUAL_PORT=4005
- LETSENCRYPT_HOST=${HOST}
ports:
- "4005:4005"
signing:
image: digitalcredentials/signing-service:1.0.0
container_name: "ad-signing"
environment:
- TENANT_SEED_LEF_TEST=z1AeiPT496wWmo9BG2QYXeTusgFSZPNG3T9wNeTtjrQ3rCB
transactions:
image: digitalcredentials/transaction-service:0.3.0
container_name: "ad-transactions"
status:
image: digitalcredentials/status-service-db:0.1.0
container_name: "ad-status"
environment:
- STATUS_CRED_SITE_ORIGIN=https://${HOST}/status
- CRED_STATUS_SERVICE=mongodb
- CRED_STATUS_DB_URL=mongodb+srv://your-mongo-user:[email protected]/?retryWrites=true&w=majority&appName=Cluster0
- CRED_STATUS_DID_SEED=z1AeiPT496wWmo9BG2QYXeTusgFSZPNG3T9wNeTtjrQ3rCB
ports:
- "4008:4008"
payload:
image: digitalcredentials/dcc-admin-dashboard:1.0.1
container_name: "ad-payload"
depends_on:
- coordinator
- redis
environment:
- COORDINATOR_URL=http://coordinator:4005
- STATUS_URL=http://status:4008
- REDIS_URL=redis
- REDIS_PORT=6379
- MONGODB_URI=mongodb+srv://your-mongo-user:[email protected]/?retryWrites=true&w=majority&appName=Cluster0
- PAYLOAD_SECRET=aaaaaaaaaaaaaaaaaaaaaaaa
- TENANT_NAME=lef_test
- SMTP_HOST=your-smtp-host
- SMTP_USER=your-smtp-user
- SMTP_PASS=your-smpt-password
- EMAIL_FROM=Digital Credentials Consortium Demo Isser <from email address - keep the '<' and '>'>
- 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.1.0
container_name: "ad-claim-page"
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
container_name: ad-redis
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- "6379:6379"
nginx-proxy:
image: nginxproxy/nginx-proxy
container_name: "ad-nginx"
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
container_name: "ad-nginx-proxy"
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: