Docker fix
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3.9'
|
||||
services:
|
||||
bitmessage:
|
||||
image: bitdeals/pybitmessage:0.6.3.2-ubuntu
|
||||
build: ./Docker
|
||||
build: ./docker
|
||||
environment:
|
||||
- BITMESSAGE_API_USER=bitmessage_api_user
|
||||
- BITMESSAGE_API_PASSWORD=bitmessage_api_password
|
||||
|
||||
@@ -65,7 +65,7 @@ CMD chown bitmessage:bitmessage keys.dat; chmod 600 keys.dat; \
|
||||
-e "s|\(stopresendingafterxdays = \).*|\1$BITMESSAGE_STOPRESENDINGAFTERXDAYS|g" \
|
||||
-e "s|\(udp = \).*|\1False|g" | \
|
||||
gosu bitmessage sponge keys.dat && \
|
||||
exec gosu bitmessage pybitmessage -d
|
||||
exec gosu bitmessage nice -n 19 pybitmessage -d
|
||||
|
||||
# Generate Deterministic address
|
||||
HEALTHCHECK --retries=3 --interval=15s \
|
||||
|
||||
@@ -13,7 +13,7 @@ PIDFile=/home/bitmessage/.config/PyBitmessage/singleton.lock
|
||||
KillMode=process
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
#Nice=10
|
||||
#Nice=19
|
||||
|
||||
SyslogIdentifier=bitmessage
|
||||
User=bitmessage
|
||||
Reference in New Issue
Block a user