Skip to content

Commit

Permalink
Rotate log files
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Jan 29, 2024
1 parent f111830 commit 8e63310
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-swarm/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ services:
- /var/lib/voi/algod/data:/algod/data/:rw
environment:
TELEMETRY_NAME: ${VOINETWORK_TELEMETRY_NAME}
logging:
driver: "local"
deploy:
replicas: 1
restart_policy:
Expand All @@ -16,6 +18,8 @@ services:
image: containrrr/shepherd
environment:
RUN_ONCE_AND_EXIT: "true"
logging:
driver: "local"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
Expand All @@ -31,6 +35,8 @@ services:
- node.role == manager
scheduler:
image: crazymax/swarm-cronjob:latest
logging:
driver: "local"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
Expand Down

0 comments on commit 8e63310

Please sign in to comment.