mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-03 10:46:42 +01:00
Simple docker-compose.yml, add BITCOIN_S_UID, add DISABLE_JLINK (#4680)
This commit is contained in:
parent
c266ba849f
commit
d6c7247a79
2 changed files with 5 additions and 4 deletions
|
@ -23,7 +23,7 @@ For a complete guide on how to get started with Bitcoin-S, see our website at [B
|
||||||
In this repo, you can just run
|
In this repo, you can just run
|
||||||
|
|
||||||
```
|
```
|
||||||
APP_PASSWORD=topsecret docker-compose up
|
APP_PASSWORD=topsecret BITCOIN_S_UID="$(id -u):$(id -g)" docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
which will spin up a docker environment that starts syncing the backend and will allow you to visit
|
which will spin up a docker environment that starts syncing the backend and will allow you to visit
|
||||||
|
@ -112,4 +112,4 @@ See [here](https://bitcoin-s.org/docs/contributing) for more information.
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
Bitcoin-s is MIT licensed, as found in the [LICENSE](LICENSE) file.
|
Bitcoin-s is MIT licensed, as found in the [LICENSE](LICENSE) file.
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.7"
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: bitcoinscala/wallet-server-ui:latest
|
image: bitcoinscala/wallet-server-ui:latest
|
||||||
user: "0:1000"
|
user: $BITCOIN_S_UID
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 1m
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
walletserver:
|
walletserver:
|
||||||
image: bitcoinscala/bitcoin-s-server:latest
|
image: bitcoinscala/bitcoin-s-server:latest
|
||||||
entrypoint: ["/opt/docker/bin/bitcoin-s-server", "--datadir", "/bitcoin-s", "--conf", "/opt/docker/docker-application.conf"]
|
entrypoint: ["/opt/docker/bin/bitcoin-s-server", "--datadir", "/bitcoin-s", "--conf", "/opt/docker/docker-application.conf"]
|
||||||
user: "0:1000"
|
user: $BITCOIN_S_UID
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/wallet:/bitcoin-s
|
- ./data/wallet:/bitcoin-s
|
||||||
|
@ -40,6 +40,7 @@ services:
|
||||||
BITCOIN_S_DLCNODE_TOR_CONTROL: "tor:9051"
|
BITCOIN_S_DLCNODE_TOR_CONTROL: "tor:9051"
|
||||||
BITCOIN_S_DLCNODE_TOR_PASSWORD: "topsecret"
|
BITCOIN_S_DLCNODE_TOR_PASSWORD: "topsecret"
|
||||||
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
|
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
|
||||||
|
DISABLE_JLINK: "1"
|
||||||
ports:
|
ports:
|
||||||
- "9999:9999"
|
- "9999:9999"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Add table
Reference in a new issue