mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
fix(docker): Specifying max size for log files
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# Start the testnet server with the command 'docker-compose up -d'
|
||||
# Start the service with the command 'docker-compose up -d'
|
||||
|
||||
mongo-ipfs-service:
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
mongo-ipfs-service:
|
||||
image: mongo
|
||||
container_name: mongo-ipfs-service
|
||||
ports:
|
||||
@@ -10,10 +13,14 @@ mongo-ipfs-service:
|
||||
command: mongod --logpath=/dev/null # -- quiet
|
||||
restart: always
|
||||
|
||||
ipfs-service:
|
||||
ipfs-service:
|
||||
build: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: ipfs-service
|
||||
logging:
|
||||
driver: 'json-file'
|
||||
options:
|
||||
max-size: '10m'
|
||||
max-file: '10'
|
||||
links:
|
||||
- mongo-ipfs-service
|
||||
ports:
|
||||
@@ -21,8 +28,5 @@ ipfs-service:
|
||||
- '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
|
||||
|
||||
Reference in New Issue
Block a user