forked from 0xPolygonID/issuer-node
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
65 lines (58 loc) · 1.27 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
version: "3.9"
services:
ui:
build:
context: ../../ui/
dockerfile: Dockerfile
ports:
- "8088:80"
env_file:
- ../../.env-api
- ../../.env-ui
api:
build:
context: ../../
dockerfile: ${DOCKER_FILE}
ports:
- "3001:3001"
env_file:
- ../../.env-api
- ../../.env-issuer
command: sh -c "sleep 4s && ./migrate && ./platform"
api-ui:
build:
context: ../../
dockerfile: ${DOCKER_FILE}
ports:
- "3002:3002"
env_file:
- ../../.env-api
- ../../.env-issuer
command: sh -c "sleep 4s && ./migrate && ./platform_ui"
notifications:
build:
context: ../../
dockerfile: ${DOCKER_FILE}
env_file:
- ../../.env-api
- ../../.env-issuer
command: sh -c "sleep 4s && ./notifications"
pending_publisher:
build:
context: ../../
dockerfile: ${DOCKER_FILE}
env_file:
- ../../.env-api
- ../../.env-issuer
command: sh -c "sleep 4s && ./pending_publisher"
initializer:
build:
context: ../../
dockerfile: ${DOCKER_FILE}
env_file:
- ../../.env-api
- ../../.env-issuer
command: sh -c "sleep 4s && ./migrate && ./issuer_initializer"
networks:
default:
name: issuer-network