diff --git a/production/docker/Dockerfile b/production/docker/Dockerfile index 2fdbe5f..37384e9 100644 --- a/production/docker/Dockerfile +++ b/production/docker/Dockerfile @@ -70,6 +70,8 @@ RUN mkdir /home/safeuser/.ipfsdata #VOLUME /home/safeuser/ipfsdata #VOLUME /home/safeuser/orbitdb +EXPOSE 5010 + # Start the application. COPY start-production.sh start-production.sh CMD ["./start-production.sh"] diff --git a/production/docker/docker-compose.yml b/production/docker/docker-compose.yml index e2a8405..e17f1dd 100644 --- a/production/docker/docker-compose.yml +++ b/production/docker/docker-compose.yml @@ -52,8 +52,8 @@ services: max-file: '10' mem_limit: 1000mb links: - - bch-wallet-mongo - - bch-wallet-ipfs + - mongo-bch-service + - ipfs-bch-wallet ports: - '5010:5010' # : volumes: diff --git a/shell-scripts/local-external-ipfs-node.sh b/shell-scripts/local-external-ipfs-node.sh index a81d112..927a50e 100755 --- a/shell-scripts/local-external-ipfs-node.sh +++ b/shell-scripts/local-external-ipfs-node.sh @@ -18,7 +18,8 @@ export DEBUG_LEVEL=1 # Production settings that use external IPFS node. # https://github.com/christroutner/docker-ipfs export SVC_ENV=production -export IPFS_HOST=localhost +#export IPFS_HOST=localhost +export IPFS_HOST=172.17.0.1 export IPFS_API_PORT=5001 # MongoDB connection string.