From a33576d02ec27b6d579739cb28523b53dfa88b80 Mon Sep 17 00:00:00 2001 From: Lukas Hennies <45569834+Gornoka@users.noreply.github.com> Date: Tue, 16 Apr 2024 22:54:04 +0200 Subject: [PATCH 1/2] Update docker-compose.yml feat: add log rotation --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1c555c3..7a9b4a1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,11 @@ services: container_name: palworld-dedicated-server image: jammsen/palworld-dedicated-server:latest restart: unless-stopped + logging: + driver: "local" + options: + max-size: "100m" + max-file: "3" ports: - target: 8211 # Gamerserver port inside of the container published: 8211 # Gamerserver port on your host From 91a6c85038f7243c93c23db715876362704f8900 Mon Sep 17 00:00:00 2001 From: Lukas Hennies <45569834+Gornoka@users.noreply.github.com> Date: Sat, 27 Apr 2024 11:41:35 +0200 Subject: [PATCH 2/2] Chore: update max log size requested in cr by @jammsen --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7a9b4a1..9e8713e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: logging: driver: "local" options: - max-size: "100m" + max-size: "10m" max-file: "3" ports: - target: 8211 # Gamerserver port inside of the container