mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
34 lines
884 B
YAML
34 lines
884 B
YAML
# Start the service with the command 'docker-compose up -d'
|
|
|
|
version: '3.9'
|
|
|
|
services:
|
|
mongo-ipfs-service:
|
|
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'
|
|
mem_limit: 500mb
|
|
links:
|
|
- mongo-ipfs-service
|
|
ports:
|
|
- '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
|