diff --git a/production/Dockerfile b/production/Dockerfile index 5d0f85f..a83058e 100644 --- a/production/Dockerfile +++ b/production/Dockerfile @@ -52,7 +52,7 @@ VOLUME /home/safeuser/keys EXPOSE 5001 # Start the application. -COPY start-production start-production -CMD ["./start-production"] +COPY start-production.sh start-production.sh +CMD ["./start-production.sh"] #CMD ["npm", "start"] diff --git a/production/docker-compose.yml b/production/docker-compose.yml index 325c9eb..6251120 100644 --- a/production/docker-compose.yml +++ b/production/docker-compose.yml @@ -6,7 +6,7 @@ mongo-ipfs-service: ports: - '5555:27017' # : volumes: - - ./database:/data/db + - ./data/database:/data/db command: mongod --logpath=/dev/null # -- quiet restart: always @@ -21,6 +21,6 @@ ipfs-service: volumes: # - ./logs:/home/coinjoin/consolidating-coinjoin/logs #- ./keys:/home/safeuser/keys - - ../.ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata + - ./data/.ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata restart: always diff --git a/production/start-production b/production/start-production.sh similarity index 97% rename from production/start-production rename to production/start-production.sh index c50fd45..8398de2 100755 --- a/production/start-production +++ b/production/start-production.sh @@ -13,7 +13,7 @@ export COORD_NAME=ipfs-service-provider-generic #export ENABLE_CIRCUIT_RELAY=true # Debug level. 0 = minimal info. 2 = max info. -export DEBUG_LEVEL=2 +export DEBUG_LEVEL=1 # END: Optional configuration settings