Skip to content

Commit 0d62c98

Browse files
feat: added log rotation
1 parent 671dd20 commit 0d62c98

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ services:
1414
- nginx-config-volume:/etc/nginx/sites-enabled
1515
- ./credentials.json:/app/credentials.json
1616
- ./token.json:/app/token.json
17+
logging:
18+
driver: "json-file"
19+
options:
20+
max-size: "100m"
21+
max-file: "3"
1722

1823
networks:
1924
metaploy-network:

0 commit comments

Comments
 (0)