revert docker-compose user again as its impossible to create mounted direcotry as non root user (#4691)

This commit is contained in:
Chris Stewart 2022-08-31 18:12:12 -05:00 committed by GitHub
parent d2f8811a1c
commit 49b2730f8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 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 BITCOIN_S_UID="$(id -u):$(id -g)" docker-compose up
APP_PASSWORD=topsecret docker-compose up
```
which will spin up a docker environment that starts syncing the backend and will allow you to visit

View file

@ -3,7 +3,7 @@ version: "3.7"
services:
web:
image: bitcoinscala/wallet-server-ui:latest
user: $BITCOIN_S_UID
user: 0:1000
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: $BITCOIN_S_UID
user: 0:1000
restart: on-failure
volumes:
- ./data/wallet:/bitcoin-s