Files
ipfs-bch-wallet-service/production/docker/docker-compose.yml
T
2024-03-22 10:59:22 -07:00

36 lines
928 B
YAML

# Start the service with the command 'docker-compose up -d'
version: '3.9'
services:
mongo-bch-service:
image: mongo:4.2.0
container_name: mongo-bch-service
ports:
- '5555:27017' # <host port>:<container port>
volumes:
- ../data/mongodb:/data/db
command: mongod --logpath=/dev/null # -- quiet
restart: always
ipfs-bch-wallet:
build: .
#image: christroutner/ipfs-service-provider:v5.0.1
container_name: ipfs-service
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '10'
mem_limit: 1000mb
links:
- mongo-bch-service
ports:
- '5010:5010' # <host port>:<container port>
- '4001:4001'
- '4003:4003'
volumes:
- ../data/ipfsdata:/home/safeuser/ipfs-bch-wallet-service/.ipfsdata
- ./start-production.sh:/home/safeuser/ipfs-bch-wallet-service/start-production.sh
restart: always