add logging options to synapse as logs are verbose

This commit is contained in:
James 2022-02-21 13:28:46 +00:00
parent e803ea391b
commit f6c8a467f3
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${VOLUME_PATH}/data:/data:rw - ${VOLUME_PATH}/data:/data:rw
logging:
driver: "json-file"
options:
max-size: "1G"
max-file: 3
ports: ports:
- ${SYNAPSE_PORT}:8008 - ${SYNAPSE_PORT}:8008
networks: networks: