Simple docker-compose.yml, add BITCOIN_S_UID, add DISABLE_JLINK (#4680)

This commit is contained in:
Chris Stewart 2022-08-29 17:25:32 -05:00 committed by GitHub
parent c266ba849f
commit d6c7247a79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -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
```
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
@ -112,4 +112,4 @@ See [here](https://bitcoin-s.org/docs/contributing) for more information.
### 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.

View file

@ -3,7 +3,7 @@ version: "3.7"
services:
web:
image: bitcoinscala/wallet-server-ui:latest
user: "0:1000"
user: $BITCOIN_S_UID
restart: on-failure
stop_grace_period: 1m
volumes:
@ -24,7 +24,7 @@ services:
walletserver:
image: bitcoinscala/bitcoin-s-server:latest
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
volumes:
- ./data/wallet:/bitcoin-s
@ -40,6 +40,7 @@ services:
BITCOIN_S_DLCNODE_TOR_CONTROL: "tor:9051"
BITCOIN_S_DLCNODE_TOR_PASSWORD: "topsecret"
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
DISABLE_JLINK: "1"
ports:
- "9999:9999"
depends_on: