Closed purplesmoke05 closed 1 year ago
no mount with COMPANY_LIST_LOCAL_MODE=1
~/P/ibet-Wallet-API (feature/#1250)> docker run --rm -p 5000:5000 --name ibet-wallet-api-app -e COMPANY_LIST_LOCAL_MODE=1 -e RUN_MODE=server … ibet-wallet-api /app/ibet-Wallet-API/run.sh
[WARNING] company_list.json is empty. Please mount company_list.json if you use company list local mode.
~/P/ibet-Wallet-API (feature/#1250)> docker run --rm --name ibet-wallet-api-indexer -e COMPANY_LIST_LOCAL_MODE=1 -e RUN_MODE=indexer … ibet-wallet-api /app/ibet-Wallet-API/run.sh
[WARNING] company_list.json is empty. Please mount company_list.json if you use company list local mode.
mounted with COMPANY_LIST_LOCAL_MODE=1
~/P/ibet-Wallet-API (feature/#1250)> docker run --rm -p 5000:5000 --name ibet-wallet-api-app -v $(pwd)/data/company_list.json:/app/ibet-Wallet-API/data/company_list.json -e COMPANY_LIST_LOCAL_MODE=1 -e RUN_MODE=server … ibet-wallet-api /app/ibet-Wallet-API/run.sh
[2022-11-21 08:12:50 +0000] [156] [INFO] Starting gunicorn 20.1.0
~/P/ibet-Wallet-API (feature/#1250)> docker run --rm --name ibet-wallet-api-indexer -v $(pwd)/data/company_list.json:/app/ibet-Wallet-API/data/company_list.json -e COMPANY_LIST_LOCAL_MODE=1 -e RUN_MODE=indexer ibet-wallet-api /app/ibet-Wallet-API/run.sh
[2022-11-21 08:02:32 +0000] [159] [INFO] [APP-LOG] Connecting to database.. [in /app/ibet-Wallet-API/batch/../app/database/__init__.py:30]
Close #1250