-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.feefeed.yml
64 lines (62 loc) · 1.56 KB
/
docker-compose.feefeed.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
version: "2.3"
services:
childchain:
environment:
- FEE_ADAPTER=feed
- FEE_FEED_URL=http://172.27.0.107:4000/api/v1
depends_on:
feefeed:
condition: service_healthy
postgres_feefeed:
image: postgres:12.2-alpine
ports:
- "5433:5432"
restart: always
healthcheck:
test: pg_isready -U feefeed
interval: 5s
timeout: 3s
retries: 5
environment:
POSTGRES_USER: feefeed
POSTGRES_PASSWORD: feefeed
POSTGRES_DB: feefeed
networks:
chain_net:
ipv4_address: 172.27.0.106
feefeed:
image: "omisego/feefeed:latest"
command: "start"
container_name: feefeed
environment:
- GITHUB_TOKEN=""
- GITHUB_ORGANISATION=omgnetwork
- GITHUB_REPO=fee-rules-public
- GITHUB_BRANCH=master
- RULES_FETCH_INTERVAL=20
- RATES_FETCH_INTERVAL=20
- GITHUB_FILENAME=fee_rules
- DATABASE_URL=postgresql://feefeed:[email protected]:5432/feefeed
- SECRET_KEY_BASE="Y8naENMR8b+vbPHILjwNtEfWFrnbGi2k+UYWm75VnKHfsavmyGLtTmmeJxAGK+zJ"
- DATADOG_DISABLED=true
- DATADOG_HOST="localhost"
- ETHEREUM_NODE_URL=http://172.27.0.108:80
ports:
- "4000:4000"
expose:
- "4000"
depends_on:
postgres_feefeed:
condition: service_healthy
nginx:
condition: service_healthy
restart: always
healthcheck:
test: curl localhost:4000
interval: 30s
timeout: 1s
retries: 5
start_period: 30s
networks:
chain_net:
ipv4_address: 172.27.0.107