-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
104 lines (96 loc) · 5.38 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
services:
dkgservicenode:
container_name: dkg_service_node
image: ${DOCKER_REGISTRY-}dkgservicenode
build:
context: .
dockerfile: dkgServiceNode/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=8080
- ASPNETCORE_HTTPS_PORTS=8081
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
depends_on:
- dkgservice_db
dkgnode1:
container_name: dkg_node_1
image: ${DOCKER_REGISTRY-}dkgnode
environment:
- DKG_SERVICE_NODE_URL=http://dkg_service_node:8080
- DKG_NODE_NAME=First node
- DKG_SOLANA_KEYSTORE=eyJjcnlwdG8iOnsiY2lwaGVyIjoiYWVzLTEyOC1jdHIiLCJjaXBoZXJ0ZXh0IjoiODNmMGRjNTZiMDcyZTQzNGIyZjVkNmI4Y2RhYTU0NGRjNGM3MmM1MmJmYjNlYWUyZmI5MGI4MGZkNDNkYmZkYWI5N2Q2NzIwMzlmNjMxY2I4YzVlMzFjNzlkYmVmNjg5YzdiNjcwNTNkNzBkNzBmYjdkZTIzYjQ3NDc0YWI3ODQiLCJjaXBoZXJwYXJhbXMiOnsiaXYiOiI1YTc2ZTljNjE1ODFkMzAxZmE3N2NhMWIwZmExYmY5NiJ9LCJrZGYiOiJzY3J5cHQiLCJtYWMiOiJiNzk5MTRkOGY5Y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JhZGRyZXNzIjoiOXFFaFNwREtpV0daSHVORWZtaVhMMVFjS1lpaWdxenQ2UWVwNnBQaUNlc0wiLCJ2ZXJzaW9uIjozfQ==
build:
context: .
dockerfile: dkgNode/Dockerfile
depends_on:
- dkgservicenode
# dkgwebnode:
# container_name: dkg_web_node
# image: ${DOCKER_REGISTRY-}dkgwebnode
# build:
# context: .
# dockerfile: dkgWebNode/Dockerfile
# ports:
# - "8083:80"
# depends_on:
# - dkgservicenode
dkgservice_db:
container_name: dkgservice_db
image: postgres:16
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=dkgservice
volumes:
- pgdata:/var/lib/postgresqlc
adminer:
container_name: adminer
image: adminer
restart: always
ports:
- 8082:8080
volumes:
pgdata: {}