-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
71 lines (68 loc) · 1.75 KB
/
docker-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
version: '3.3'
services:
pem-inclusion-prover-svc:
image: ghcr.io/debabky/pem-inclusion-prover-svc:latest
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
ports:
- "8101:80"
volumes:
- ./configs/pem-inclusion-prover.yaml:/config.yaml
entrypoint: sh -c "pem-inclusion-prover-svc run service"
voting-svc:
image: ghcr.io/debabky/voting-svc:latest
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
ports:
- "8102:80"
volumes: # we need valid config file
- ./configs/voting.yaml:/config.yaml
entrypoint: sh -c "voting-svc run service"
depends_on:
- voting-db
proof-verification-relayer-svc:
image: ghcr.io/debabky/relayer-svc:latest
restart: unless-stopped
environment:
- KV_VIPER_FILE=/config.yaml
ports:
- "8103:80"
volumes: # we need valid config file
- ./configs/relayer.yaml:/config.yaml
entrypoint: sh -c "proof-verification-relayer run service"
depends_on:
- vault
web-client: # I have no freaking clue how to launch it
image: ghcr.io/debabky/web-client:latest
restart: unless-stopped
env_file:
- envs/web-app.env
ports:
- "4173:4173"
voting-db:
image: tokend/postgres-ubuntu:9.6
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=voting-svc
- PGDATA=/pgdata
ports:
- '5432:5432'
volumes:
- voting-db-data:/pgdata
vault:
image: hashicorp/vault:latest
ports:
- "8200:8200"
environment:
VAULT_ADDR: 'https://0.0.0.0:8200'
cap_add:
- IPC_LOCK
volumes:
- vault-data:/vault-data
volumes:
voting-db-data:
vault-data: