Commit 439ff911 authored by ci's avatar ci
Browse files

fix wallet server not starting

parent 7143476c
version: "3" version: "3.5"
networks: networks:
e2e: e2e:
external: false external: false
...@@ -26,14 +26,12 @@ services: ...@@ -26,14 +26,12 @@ services:
## Wallet Server ## ## Wallet Server ##
################### ###################
walletserver: walletserver:
image: lbry/wallet-server:v0.38.5 image: lbry/wallet-server:master
networks: networks:
- e2e - e2e
restart: always restart: always
volumes:
- "./persist/.walletserver/database:/database"
environment: environment:
- DB_DIRECTORY=/database - DB_DIRECTORY=/tmp/
- MAX_SEND=1000000000000000000000 - MAX_SEND=1000000000000000000000
- DAEMON_URL=http://lbry:lbry@lbrycrd:29245 - DAEMON_URL=http://lbry:lbry@lbrycrd:29245
- MAX_SUBS=1000000000000 - MAX_SUBS=1000000000000
...@@ -116,4 +114,4 @@ services: ...@@ -116,4 +114,4 @@ services:
- MYSQL_USER=lbry - MYSQL_USER=lbry
- MYSQL_PASS=lbry - MYSQL_PASS=lbry
- MYSQL_DATABASE=lbry - MYSQL_DATABASE=lbry
entrypoint: wait-for-it mysql:3306 -- wait-for-it lbrynet:5279 -- ./latest serve entrypoint: wait-for-it mysql:3306 -- wait-for-it lbrynet:5279 -- ./latest serve
\ No newline at end of file
...@@ -35,10 +35,8 @@ docker-compose pull ...@@ -35,10 +35,8 @@ docker-compose pull
if [[ -d persist ]]; then rm -rf persist; fi if [[ -d persist ]]; then rm -rf persist; fi
mkdir persist mkdir persist
mkdir persist/.lbrynet mkdir persist/.lbrynet
mkdir persist/.walletserver
ls -lha ./persist ls -lha ./persist
chmod u+rw ./persist/.lbrynet chmod u+rwx ./persist/.lbrynet
chmod u+rw ./persist/.walletserver
docker-compose up -d docker-compose up -d
printf 'waiting for internal apis' printf 'waiting for internal apis'
until $(curl --output /dev/null --silent --head --fail http://localhost:15400); do until $(curl --output /dev/null --silent --head --fail http://localhost:15400); do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment