-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #549 from st3b1t/master
added docker-compose.yml
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |