This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (71 loc) · 1.83 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
version: '3'
services:
postgres-hyproof-api:
image: postgres:17.0-alpine
container_name: postgres-hyproof-api
ports:
- 5432:5432
volumes:
- hyproof-api-storage:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=sqnc-hyproof-api
postgres-identity-service:
image: postgres:17.0-alpine
container_name: postgres-identity
ports:
- 5433:5432
volumes:
- identity-storage:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=sqnc-identity-service
sqnc-identity-service:
image: digicatapult/sqnc-identity-service:latest
container_name: identity-service
command: /bin/sh -c "
sleep 30 &&
npx knex migrate:latest &&
node app/index.js"
ports:
- 3002:3002
environment:
- PORT=3002
- API_HOST=sqnc-node
- DB_HOST=postgres-identity-service
- DB_PORT=5432
- DB_NAME=sqnc-identity-service
- DB_USERNAME=postgres
- DB_PASSWORD=postgres
- SELF_ADDRESS=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- AUTH_TYPE=${AUTH_TYPE:-NONE}
sqnc-node:
image: digicatapult/sqnc-node:latest
container_name: node
command: --base-path /data/
--dev
--unsafe-rpc-external
--rpc-max-connections 512
--rpc-cors all
ports:
- 30333:30333
- 9944:9944
- 9933:9933
restart: on-failure
ipfs:
image: ipfs/go-ipfs:v0.30.0
container_name: ipfs
environment:
- |
IPFS_SWARM_KEY=/key/swarm/psk/1.0.0/
/base16/
0000000000000000000000000000000000000000000000000000000000000000
ports:
- 4001:4001
- 8080:8080
- 5001:5001
volumes:
hyproof-api-storage:
identity-storage: