Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added docker-compose.yml #549

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 28 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: "3.7"

networks:
default:
driver: bridge

services:
explorer:
container_name: btc-rpc-explorer
#define $UID, $GID in .env file the user to run docker and write in data folder
#user: "1000:1000"
environment:
BTCEXP_HOST: 0.0.0.0
BTCEXP_BITCOIND_URI: $BTCEXP_BITCOIND_URI
BTCEXP_ADDRESS_API: $BTCEXP_ADDRESS_API
BTCEXP_ELECTRUM_SERVERS: $BTCEXP_ELECTRUM_SERVERS
BTCEXP_SLOW_DEVICE_MODE: false
#More information mode, including Bitcoin exchange rates
#More privacy mode, no external queries
# BTCEXP_PRIVACY_MODE: true
# BTCEXP_NO_RATES: true
# BTCEXP_UI_THEME: dark
build:
context: ./
image: btc-rpc-explorer:latest
#restart: "no"
ports:
- "3002:3002"