-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
48 lines (48 loc) · 1.51 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
version: '3'
services:
wrap_indexer:
container_name: wrap_indexer
build: .
environment:
ETHEREUM_NETWORK: "mainnet"
ETHEREUM_NETWORK_ID: "1"
ETHEREUM_RPC: ""
ETHEREUM_WRAP_CONTRACT_ADDRESS: "0x5Dc76fD132354be5567ad617fD1fE8fB79421D82"
ETHEREUM_FIRST_BLOCK_TO_INDEX: "14719029"
ETHEREUM_CONFIRMATIONS_THRESHOLD: "12"
TEZOS_NETWORK: "mainnet"
TEZOS_QUORUM_CONTRACT: "KT1DLif2x9BtK6pUq9ZfFVVyW5wN2kau9rkW"
TEZOS_MINTER_CONTRACT: "KT1MTnKjFSN2u4myPRBqnFuCYCPX8kTdUEnv"
TEZOS_CONFIRMATIONS_THRESHOLD: "2"
TEZOS_TZKT_API_URL: "https://api.tzkt.io/"
TEZOS_RPC: "https://mainnet.smartpy.io/"
IPFS_NODE: "http://wrap_ipfs:5001"
POSTGRES_DB_USER: "wrap"
POSTGRES_DB_PASSWORD: "wrap"
POSTGRES_DB_HOST: "wrap_postgres"
POSTGRES_DB_PORT: "5432"
POSTGRES_DB_NAME: "indexer"
HTTP_PORT: "3000"
LOG_FORMAT: "pretty"
LOG_LEVEL: "debug"
ports:
- "127.0.0.1:3000:3000"
depends_on:
- "wrap_postgres"
- "wrap_ipfs"
restart: unless-stopped
wrap_postgres:
container_name: wrap_postgres
image: "postgres:13-alpine"
environment:
POSTGRES_USER: wrap
POSTGRES_PASSWORD: wrap
POSTGRES_DB: indexer
volumes:
- ./data-postgresql:/var/lib/postgresql/data
wrap_ipfs:
container_name: wrap_ipfs
image: ipfs/go-ipfs:v0.8.0
command: ["daemon", "--migrate=true", "--enable-pubsub-experiment", "--enable-namesys-pubsub"]
volumes:
- ./data-ipfs:/data/ipfs