-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-ghrc.yml
58 lines (53 loc) · 1.5 KB
/
docker-compose-ghrc.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
version: '3.4'
services:
dkgservicenode:
container_name: dkg_service_node
image: ghcr.io/project-dkg/dkg-service-node:latest
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=8080
- ASPNETCORE_HTTPS_PORTS=8081
- ASPNETCORE_Kestrel__Certificates__Default__Path=/etc/dkg/s.pfx
- ASPNETCORE_Kestrel__Certificates__Default__Password=password
ports:
- "8080:8080"
- "8081:8081"
volumes:
- /etc/dkg:/etc/dkg
depends_on:
- dkgservice_db
dkgservice_db:
container_name: dkgservice_db
image: postgres:16.1
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=dkgservice
volumes:
- pgdata:/var/lib/postgresql
dkgfrontend:
container_name: dkg_frontend
image: ghcr.io/project-dkg/dkg-frontend:latest
environment:
- NGINX_SSL_CERTIFICATE_PATH=/etc/nginx/certificate/s.crt
- NGINX_SSL_CERTIFICATE_KEY_PATH=/etc/nginx/certificate/s.key
ports:
- "8088:80"
- "8443:443"
volumes:
# Certificate and key for Nginx are expected at
# /etc/nginx/certificate/s.crt
# /etc/nginx/certificate/s.key
- /etc/nginx/certificate:/etc/nginx/certificate
dkgwebnode:
container_name: dkg_web_node
image: ghcr.io/project-dkg/dkg-web-node:latest
depends_on:
- dkgservicenode
ports:
- "8083:443"
volumes:
- /etc/nginx/certificate:/etc/nginx/certificate
volumes:
pgdata: {}