Files
x402-base-facilitator/production/docker/docker-compose.yml
T

36 lines
925 B
YAML
Raw Normal View History

# Start the service with the command 'docker-compose up -d'
2021-12-29 17:46:05 -08:00
version: '3.9'
services:
mongo-ipfs-service:
2022-07-25 17:40:05 -07:00
image: mongo:4.2.0
container_name: mongo-ipfs-service
ports:
- '5555:27017' # <host port>:<container port>
volumes:
- ../data/database:/data/db
command: mongod --logpath=/dev/null # -- quiet
restart: always
ipfs-service:
build: .
#image: christroutner/ipfs-service-provider:v5.0.1
container_name: ipfs-service
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '10'
2024-04-27 13:17:57 -07:00
mem_limit: 4000mb
links:
- mongo-ipfs-service
ports:
2021-12-29 17:46:05 -08:00
- '5010:5010' # <host port>:<container port>
- '4001:4001'
- '4003:4003'
volumes:
- ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
2022-07-25 17:56:02 -07:00
- ./start-production.sh:/home/safeuser/ipfs-service-provider/start-production.sh
restart: always