-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test.yml
89 lines (83 loc) · 2.29 KB
/
docker-compose-test.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
services:
postgres-matchmaker-api:
image: postgres:17.0-alpine
container_name: postgres-matchmaker-api
ports:
- 5432:5432
volumes:
- matchmaker-api-storage:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=sqnc-matchmaker-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 &&
npm run db:migrate &&
npm start"
ports:
- 3002:3000
environment:
- 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
- IDP_CLIENT_ID=sequence
- IDP_PUBLIC_URL_PREFIX=http://localhost:3080/realms/member-a/protocol/openid-connect
- IDP_INTERNAL_URL_PREFIX=http://keycloak:8080/realms/member-a/protocol/openid-connect
sqnc-node:
image: digicatapult/sqnc-node:latest
container_name: node
command: --base-path /data/
--dev
--manual-seal
--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.31.0
container_name: ipfs
environment:
- |
IPFS_SWARM_KEY=/key/swarm/psk/1.0.0/
/base16/
0000000000000000000000000000000000000000000000000000000000000000
ports:
- 4001:4001
- 8080:8080
- 5001:5001
keycloak:
image: quay.io/keycloak/keycloak:26.0.5
container_name: keycloak
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
ports:
- 3080:8080
volumes:
- ./docker/keycloak:/opt/keycloak/data/import
command: start-dev --import-realm
volumes:
matchmaker-api-storage:
identity-storage: