diff --git a/production/docker/Dockerfile b/production/docker/Dockerfile index 3950749..7766679 100644 --- a/production/docker/Dockerfile +++ b/production/docker/Dockerfile @@ -69,7 +69,7 @@ VOLUME /home/safeuser/keys EXPOSE 5010 # Start the application. -COPY start-production.sh start-production.sh +#COPY start-production.sh start-production.sh CMD ["./start-production.sh"] #CMD ["npm", "start"] diff --git a/production/docker/docker-compose.yml b/production/docker/docker-compose.yml index 22310fe..07cf92c 100644 --- a/production/docker/docker-compose.yml +++ b/production/docker/docker-compose.yml @@ -44,8 +44,8 @@ services: restart: always ipfs-service: - #build: . - image: christroutner/ipfs-service-provider:v2.2.1 + build: . + #image: christroutner/ipfs-service-provider:v2.2.1 container_name: ipfs-service logging: driver: 'json-file' @@ -60,4 +60,5 @@ services: - '5010:5010' # : volumes: - ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata + - ./start-production.sh:/home/safeuser/ipfs-service-provider/start-production.sh restart: always diff --git a/production/docker/start-production.sh b/production/docker/start-production.sh index 2e8bde6..4303889 100755 --- a/production/docker/start-production.sh +++ b/production/docker/start-production.sh @@ -33,6 +33,6 @@ export SVC_ENV=production export IPFS_HOST=172.17.0.1 export IPFS_API_PORT=5001 export IPFS_TCP_PORT=4001 -#export IPFS_WS_PORT=5269 +export IPFS_WS_PORT=4003 npm start