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

29 lines
735 B
YAML

# Start the testnet server with the command 'docker-compose up -d'
mongo-ipfs-service:
image: mongo
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: .
dockerfile: Dockerfile
container_name: ipfs-service
links:
- mongo-ipfs-service
ports:
- '5001:5001' # <host port>:<container port>
- '4001:4001' # IPFS TCP
- '4003:4003' # IPFS WS
volumes:
# - ./logs:/home/coinjoin/consolidating-coinjoin/logs
#- ./keys:/home/safeuser/keys
- ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
restart: always