-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevnet.yml
More file actions
57 lines (53 loc) · 1.87 KB
/
Copy pathdevnet.yml
File metadata and controls
57 lines (53 loc) · 1.87 KB
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
# Midnight Local Development Network
# Generated: 2026-08-12T05:22:48Z
# Generator: midnight-tooling plugin
#
# Ports are bound to 127.0.0.1 deliberately. The proof server sees private witness
# data, and `docker -p` writes its own iptables rules that bypass ufw — a bare
# '6300:6300' would publish it on every interface of a public host.
name: midnight-devnet
services:
node:
image: midnightntwrk/midnight-node:0.22.5
container_name: midnight-node
ports:
- '127.0.0.1:9944:9944'
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9944/health']
interval: 2s
timeout: 5s
retries: 20
start_period: 20s
environment:
CFG_PRESET: 'dev'
SIDECHAIN_BLOCK_BENEFICIARY: '04bcf7ad3be7a5c790460be82a713af570f22e0f801f6659ab8e84a52be6969e'
indexer:
image: midnightntwrk/indexer-standalone:4.2.1
container_name: midnight-indexer
ports:
- '127.0.0.1:8088:8088'
environment:
RUST_LOG: 'indexer=info,chain_indexer=info,indexer_api=info,wallet_indexer=info,indexer_common=info,fastrace_opentelemetry=off,info'
APP__APPLICATION__NETWORK_ID: 'undeployed'
APP__INFRA__NODE__URL: 'ws://node:9944'
APP__INFRA__STORAGE__PASSWORD: 'indexer'
APP__INFRA__PUB_SUB__PASSWORD: 'indexer'
APP__INFRA__LEDGER_STATE_STORAGE__PASSWORD: 'indexer'
APP__INFRA__SECRET: '303132333435363738393031323334353637383930313233343536373839303132'
healthcheck:
test: ['CMD-SHELL', 'cat /var/run/indexer-standalone/running']
interval: 10s
timeout: 5s
retries: 20
start_period: 10s
depends_on:
node:
condition: service_healthy
proof-server:
image: midnightntwrk/proof-server:8.1.0
container_name: midnight-proof-server
command: ['midnight-proof-server -v']
ports:
- '127.0.0.1:6300:6300'
environment:
RUST_BACKTRACE: 'full'