Repository navigation
Expand file tree
/
Copy pathenv.dev.example
More file actions
43 lines (36 loc) · 1.75 KB
/
Copy pathenv.dev.example
File metadata and controls
43 lines (36 loc) · 1.75 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
# Predefined DEV credentials - used only by `make dev` / `make dev-local`.
#
# This stack binds the web UI to 127.0.0.1 and publishes no daemon ports to
# the host, so fixed development credentials are acceptable here. They are
# NOT valid for a real deployment: the installer (./init.sh) generates
# random secrets into .env and never reads this file.
#
# `make dev` generates .env.dev from this file automatically (with a fresh
# random SESSION_SECRET) - you normally never edit this file.
NETWORK=mainnet
# Mintlayer daemon RPC credentials (daemons are only reachable on the
# compose-internal network).
NODE_RPC_USERNAME=dev
NODE_RPC_PASSWORD=dev
# wallet-rpc-daemon RPC credentials (same network constraint).
WALLET_RPC_USERNAME=dev
WALLET_RPC_PASSWORD=dev
# Optional Bitcoin profile (make bitcoin): bitcoind + BDK sidecar.
# Default (below) is a full node - mainnet costs ~700 GB. For a light dev
# setup use pruned mode instead (~15-25 GB): BITCOIN_TXINDEX=0 + BITCOIN_PRUNE=550
# (wallets created afterwards work normally; old-seed restores need a full node).
BITCOIN_RPC_USERNAME=dev-btc
BITCOIN_RPC_PASSWORD=dev-btc
BITCOIN_WALLET_HTTP_USERNAME=dev-btc-wallet
BITCOIN_WALLET_HTTP_PASSWORD=dev-btc-wallet
# Files created by the dev stack are owned by this host user.
ML_USER_ID=1000
ML_GROUP_ID=1000
# Keep the dev UI on loopback even if the host copy of .env says otherwise.
WEB_GUI_BIND=127.0.0.1
# Feature-enabler sidecar (Settings → Optional services): compose files it must
# apply - the dev overlay has to be part of the set or an enable/disable would
# recreate containers without the dev overrides. ENV_FILE_HOST points the
# sidecar at this file (installer deployments leave it unset and use .env).
COMPOSE_FILES=docker-compose.yml:docker-compose.dev.yml
ENV_FILE_HOST=