fix(production): Adding 4003 websocket port

This commit is contained in:
Chris Troutner
2022-07-25 17:56:02 -07:00
parent 689c8fd8d9
commit 2edd924c57
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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"]
+3 -2
View File
@@ -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' # <host port>:<container port>
volumes:
- ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
- ./start-production.sh:/home/safeuser/ipfs-service-provider/start-production.sh
restart: always
+1 -1
View File
@@ -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