-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (38 loc) · 937 Bytes
/
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
version: "3"
services:
maticgasstation:
container_name: maticgasstation
image: maticgasstation
restart: always
stop_grace_period: 1m
environment:
- POS_RPC=https://polygon-mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607
- ZKEVM_RPC=https://1rpc.io/polygon/zkevm
- PORT=7000
- SAFE=30
- STANDARD=32
- FAST=50
- HISTORY_BLOCKS=15
build:
context: .
dockerfile: maticgasstation.Dockerfile
ports:
- '127.0.0.1:7000:7000'
healthcheck:
test: ["CMD-SHELL", "curl http://localhost:7000/v2"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
gaspriceoracle:
container_name: gaspriceoracle
image: gaspriceoracle
restart: always
stop_grace_period: 1m
env_file:
- ./docker.env
build:
context: .
depends_on:
maticgasstation:
condition: service_healthy