forked from hashgraph/hedera-stablecoin-demo-archived
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (50 loc) · 1.15 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
version: "3"
services:
db:
image: postgres:12
restart: on-failure
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: stabl
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
api:
build:
context: .
args:
target: api
restart: on-failure
ports:
- "3128:3128"
depends_on:
- db
env_file: .env
environment:
TARGET: api
DATABASE_URL: postgres://postgres:password@db/stabl
mirror:
build:
context: .
args:
target: mirror
restart: on-failure
ports:
- "3129:3129"
depends_on:
- db
- api
env_file: .env
environment:
TARGET: mirror
DATABASE_URL: postgres://postgres:password@db/stabl
ui:
build: ui/
restart: on-failure
ports:
- "8080:80"
depends_on:
- api
- mirror