mirror of
https://github.com/status-im/autobounty.git
synced 2025-02-28 04:50:41 +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 = {
|
module.exports = {
|
||||||
debug: true,
|
debug: true,
|
||||||
urlEndpoint: '/',
|
urlEndpoint: '/',
|
||||||
logPath: './log/',
|
|
||||||
signerPath: 'https://ropsten.infura.io',
|
signerPath: 'https://ropsten.infura.io',
|
||||||
sourceAddress: 'XXXXX',
|
sourceAddress: 'XXXXX',
|
||||||
token: 'SNT',
|
token: 'SNT',
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
CONTAINER_ID="$(docker ps -lq)"
|
CONTAINER_ID="$(docker ps -lq)"
|
||||||
LOG_PATH=$(readlink -f './log')
|
LOG_PATH=$(pwd)/log
|
||||||
docker stop ${CONTAINER_ID}
|
docker stop ${CONTAINER_ID}
|
||||||
docker build -t autobounty .
|
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 &
|
docker run -d -v ${LOG_PATH}:/usr/src/app/log -p 8080:8080 autobounty &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user