-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
124 lines (98 loc) · 4.42 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: "3.1"
services:
conseil-api:
image: cryptonomictech/conseil:latest
ports:
- 1337:1337
environment:
# List of supported environment variables:
# CONSEIL_XTZ_NETWORK:??? # (default zeronet)
# CONSEIL_XTZ_ENABLED:??? # (default false)
# CONSEIL_BTC_NETWORK:??? # (default mainnet)
# CONSEIL_BTC_ENABLED:??? # (default false)
# CONSEIL_API_DB_NAME:??? # (default conseil)
# CONSEIL_API_DB_USER:??? # (default foo)
# CONSEIL_API_DB_PASSWORD:??? # (default bar)
# CONSEIL_API_DB_URL:??? # (default jdbc:postgresql://localhost:5432/postgres)
# CONSEIL_API_HOSTNAME:??? # (default 0.0.0.0)
# CONSEIL_API_PORT:??? # (default 1337)
# CONSEIL_API_KEY:??? # (required)
# CONSEIL_API_ALLOW_BLANK_KEYS:??? # (default false)
# CONSEIL_NC_ENABLED: ??? # (default false)
# CONSEIL_NC_HOST: ??? # (default http://localhost)
# CONSEIL_NC_PORT: ??? # (default 1234)
# CONSEIL_NC_PATH: ??? # (default apiKeys/dev)
# CONSEIL_NC_KEY: ??? # (default exampleApiKeyDev)
# JVM_XMX:??? # (recommended -Xmx4G)
# CONFIG_PATH:??? # (optional path to external configuration)
CONSEIL_XTZ_ENABLED: "true"
CONSEIL_XTZ_NETWORK: "mainnet"
CONSEIL_XTZ_DB_URL: "jdbc:postgresql://conseil-postgres:5432/conseil-local"
CONSEIL_XTZ_DB_USER: "conseiluser"
CONSEIL_XTZ_DB_PASSWORD: "p@ssw0rd"
CONSEIL_API_KEY: "conseil"
JVM_XMX: "4G"
entrypoint: ["/root/wait-for.sh", "conseil-postgres:5432", "-t", "120", "--", "/root/entrypoint.sh", "conseil-api"]
depends_on:
- conseil-postgres
networks:
- conseil-net
conseil-lorre:
image: cryptonomictech/conseil:latest
environment:
# List of supported environment variables:
# CONSEIL_XTZ_NETWORK:??? # (default zeronet)
# CONSEIL_XTZ_ENABLED:??? # (default false)
# CONSEIL_XTZ_NODE_PROTOCOL:??? # (default https)
# CONSEIL_XTZ_NODE_HOSTNAME:??? # (default nautilus.cryptonomic.tech)
# CONSEIL_XTZ_NODE_PORT:??? # (default 8732)
# CONSEIL_XTZ_NODE_PATH_PREFIX:??? # (default tezos/zeronet/)
# CONSEIL_XTZ_BACKER_ROLLS_SIZE:??? # (default 8000)
# CONSEIL_BTC_NETWORK:??? # (default mainnet)
# CONSEIL_BTC_ENABLED:??? # (default false)
# CONSEIL_XTZ_DB_NAME:??? # (default conseil) - similarly for ETH, BTC, but replace XTZ with it
# CONSEIL_XTZ_DB_USER:??? # (default foo)
# CONSEIL_XTZ_DB_PASSWORD:??? # (default bar)
# CONSEIL_XTZ_DB_URL:??? # (default jdbc:postgresql://localhost:5432/postgres)
# CONSEIL_LORRE_FORK_DETECTION_ENABLED:true/false # (default false)
# JVM_XMX:??? # (recommended -Xmx4G)
# CONFIG_PATH:??? # (optional path to external configuration)
# LORRE_RUNNER_PLATFORM:??? (required - name of platform to be executed by lorre)
# LORRE_RUNNER_NETWORK:??? (required - name of network to be executed by lorre, note that network needs to be enabled)
CONSEIL_XTZ_DB_URL: "jdbc:postgresql://conseil-postgres:5432/conseil-local"
CONSEIL_XTZ_DB_USER: "conseiluser"
CONSEIL_XTZ_DB_PASSWORD: "p@ssw0rd"
CONSEIL_LORRE_DEPTH: "newest"
CONSEIL_LORRE_HEAD_HASH: "head"
CONSEIL_XTZ_NETWORK: "mainnet"
CONSEIL_XTZ_ENABLED: "true"
CONSEIL_XTZ_NODE_PROTOCOL: "http"
CONSEIL_XTZ_NODE_HOSTNAME: "65.108.44.106"
CONSEIL_XTZ_NODE_PORT: 8732
CONSEIL_XTZ_NODE_PATH_PREFIX: ""
LORRE_RUNNER_PLATFORM: "tezos"
LORRE_RUNNER_NETWORK: "mainnet"
# Feature-Flag: set to false to disable the concurrent computation of future endorsement/baking rights
CONSEIL_LORRE_BLOCK_RIGHTS_FETCHING_ENABLED: "false"
JVM_XMX: "4G"
entrypoint: ["/root/wait-for.sh", "conseil-postgres:5432", "-t", "120", "--", "/root/entrypoint.sh", "conseil-lorre"]
depends_on:
- conseil-postgres
networks:
- conseil-net
conseil-postgres:
image: postgres:12.6
ports:
- 5432:5432
environment:
POSTGRES_USER: "conseiluser"
POSTGRES_PASSWORD: "p@ssw0rd"
POSTGRES_DB: "conseil-local"
POSTGRES_INITDB_ARGS: "--lc-collate=en_US.UTF-8 -E UTF8"
volumes:
- "../sql:/docker-entrypoint-initdb.d/"
networks:
- conseil-net
networks:
conseil-net:
driver: bridge