mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-27 20:40:45 +00:00
Logs transferd outside into $(pwd)/log
This commit is contained in:
parent
009d0ad50e
commit
845340a914
@ -9,7 +9,6 @@ const BOUNTY_LABELS = {
|
||||
module.exports = {
|
||||
debug: true,
|
||||
urlEndpoint: '/',
|
||||
logPath: './log/',
|
||||
signerPath: 'https://ropsten.infura.io',
|
||||
sourceAddress: 'XXXXX',
|
||||
token: 'SNT',
|
||||
|
@ -1,7 +1,5 @@
|
||||
|
||||
CONTAINER_ID="$(docker ps -lq)"
|
||||
LOG_PATH=$(readlink -f './log')
|
||||
LOG_PATH=$(pwd)/log
|
||||
docker stop ${CONTAINER_ID}
|
||||
docker build -t autobounty .
|
||||
docker run -d --mount source=$LOG_PATH,target=/usr/src/app/log -p 8080:8080 autobounty
|
||||
docker run -d -v ${LOG_PATH}:/usr/src/app/log -p 8080:8080 autobounty &
|
||||
|
Loading…
x
Reference in New Issue
Block a user