diff --git a/homelab/server/README.md b/homelab/server/README.md index aa90f725..82349e77 100644 --- a/homelab/server/README.md +++ b/homelab/server/README.md @@ -76,6 +76,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" user: "1000:1000" restart: "no" environment: diff --git a/homelab/server/config/authentik/docker-compose.yml b/homelab/server/config/authentik/docker-compose.yml index e4b13864..ada17cd6 100644 --- a/homelab/server/config/authentik/docker-compose.yml +++ b/homelab/server/config/authentik/docker-compose.yml @@ -45,6 +45,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: authentik: web: @@ -81,6 +82,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - authentik diff --git a/homelab/server/config/autopirate/docker-compose.yml b/homelab/server/config/autopirate/docker-compose.yml index 45a234b1..46f85047 100644 --- a/homelab/server/config/autopirate/docker-compose.yml +++ b/homelab/server/config/autopirate/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web environment: @@ -41,6 +42,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web environment: @@ -71,6 +73,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web environment: @@ -101,6 +104,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web environment: @@ -130,6 +134,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web - monitoring @@ -163,6 +168,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: web: tdarr: @@ -206,6 +212,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" deploy: resources: reservations: @@ -247,6 +254,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web environment: diff --git a/homelab/server/config/calibre-web/docker-compose.yml b/homelab/server/config/calibre-web/docker-compose.yml index b9662786..56aea5f3 100644 --- a/homelab/server/config/calibre-web/docker-compose.yml +++ b/homelab/server/config/calibre-web/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - PUID=1000 - PGID=1000 @@ -34,6 +35,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - PUID=1000 - PGID=1000 @@ -58,6 +60,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - PUID=1000 - PGID=1000 @@ -82,6 +85,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - PUID=1000 - PGID=1000 diff --git a/homelab/server/config/cloudflare-ddns/docker-compose.yml b/homelab/server/config/cloudflare-ddns/docker-compose.yml index cd40f245..c13489ba 100644 --- a/homelab/server/config/cloudflare-ddns/docker-compose.yml +++ b/homelab/server/config/cloudflare-ddns/docker-compose.yml @@ -10,6 +10,8 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" + restart: "no" environment: - API_KEY=***REMOVED*** diff --git a/homelab/server/config/gitlab/docker-compose.yml b/homelab/server/config/gitlab/docker-compose.yml index 7cda79c3..5138216b 100644 --- a/homelab/server/config/gitlab/docker-compose.yml +++ b/homelab/server/config/gitlab/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" hostname: 'gitlab.jafner.net' networks: @@ -99,6 +100,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: - GODEBUG="x509ignoreCN=0" @@ -118,6 +120,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: - GODEBUG="x509ignoreCN=0" diff --git a/homelab/server/config/homer/docker-compose.yml b/homelab/server/config/homer/docker-compose.yml index 15539e98..f44dad29 100644 --- a/homelab/server/config/homer/docker-compose.yml +++ b/homelab/server/config/homer/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "unless-stopped" environment: - UID=1000 diff --git a/homelab/server/config/jdownloader2/docker-compose.yml b/homelab/server/config/jdownloader2/docker-compose.yml index b64c004e..da92f1cc 100644 --- a/homelab/server/config/jdownloader2/docker-compose.yml +++ b/homelab/server/config/jdownloader2/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web volumes: diff --git a/homelab/server/config/landing/docker-compose.yml b/homelab/server/config/landing/docker-compose.yml index bcf8ef59..cbd56d30 100644 --- a/homelab/server/config/landing/docker-compose.yml +++ b/homelab/server/config/landing/docker-compose.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: WORDPRESS_DB_HOST: landing_db diff --git a/homelab/server/config/librespeed/docker-compose.yml b/homelab/server/config/librespeed/docker-compose.yml index 461a6b65..33f694ca 100644 --- a/homelab/server/config/librespeed/docker-compose.yml +++ b/homelab/server/config/librespeed/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: - TITLE=LibreSpeed@Jafner.net diff --git a/homelab/server/config/minecraft/bmcp.yml b/homelab/server/config/minecraft/bmcp.yml index d25b8ba2..61e7f408 100644 --- a/homelab/server/config/minecraft/bmcp.yml +++ b/homelab/server/config/minecraft/bmcp.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - EULA=TRUE - MAX_MEMORY=12G diff --git a/homelab/server/config/minecraft/e6.yml b/homelab/server/config/minecraft/e6.yml index 9afd47f5..51dc35a7 100644 --- a/homelab/server/config/minecraft/e6.yml +++ b/homelab/server/config/minecraft/e6.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - EULA=TRUE - MAX_MEMORY=8G diff --git a/homelab/server/config/minecraft/fan.yml b/homelab/server/config/minecraft/fan.yml index 48aa4c4c..da0b0039 100644 --- a/homelab/server/config/minecraft/fan.yml +++ b/homelab/server/config/minecraft/fan.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - EULA=TRUE - MAX_MEMORY=6G diff --git a/homelab/server/config/minecraft/router.yml b/homelab/server/config/minecraft/router.yml index 1b926ee2..75621d69 100644 --- a/homelab/server/config/minecraft/router.yml +++ b/homelab/server/config/minecraft/router.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - mc-router diff --git a/homelab/server/config/minecraft/vanilla.yml b/homelab/server/config/minecraft/vanilla.yml index 160674f2..cf6fffaf 100644 --- a/homelab/server/config/minecraft/vanilla.yml +++ b/homelab/server/config/minecraft/vanilla.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" environment: - EULA=TRUE - VERSION=1.19 diff --git a/homelab/server/config/monitoring/README.md b/homelab/server/config/monitoring/README.md index e77433df..a4ae96c4 100644 --- a/homelab/server/config/monitoring/README.md +++ b/homelab/server/config/monitoring/README.md @@ -67,6 +67,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" ``` NOTE: The batch size here is in lines for *only the selected container*. diff --git a/homelab/server/config/monitoring/docker-compose.yml b/homelab/server/config/monitoring/docker-compose.yml index 722dbecf..a98a44a4 100644 --- a/homelab/server/config/monitoring/docker-compose.yml +++ b/homelab/server/config/monitoring/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - monitoring @@ -33,6 +34,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" user: "1000:1000" networks: - monitoring @@ -60,6 +62,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - monitoring - web @@ -84,6 +87,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - monitoring @@ -105,6 +109,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" command: export-for-prometheus restart: "no" networks: @@ -125,6 +130,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - monitoring @@ -145,6 +151,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - monitoring diff --git a/homelab/server/config/navidrome/docker-compose.yml b/homelab/server/config/navidrome/docker-compose.yml index ae1284dc..0de98022 100644 --- a/homelab/server/config/navidrome/docker-compose.yml +++ b/homelab/server/config/navidrome/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" user: 1000:1000 networks: - web diff --git a/homelab/server/config/nvgm/docker-compose.yml b/homelab/server/config/nvgm/docker-compose.yml index 6c172c0f..5cb27969 100644 --- a/homelab/server/config/nvgm/docker-compose.yml +++ b/homelab/server/config/nvgm/docker-compose.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: WORDPRESS_DB_HOST: nvgm_db diff --git a/homelab/server/config/peertube/docker-compose.yml b/homelab/server/config/peertube/docker-compose.yml index 2d11475b..f00d1694 100644 --- a/homelab/server/config/peertube/docker-compose.yml +++ b/homelab/server/config/peertube/docker-compose.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: web: peertube: diff --git a/homelab/server/config/pihole/docker-compose.yml b/homelab/server/config/pihole/docker-compose.yml index edaccdb9..7a325a0c 100644 --- a/homelab/server/config/pihole/docker-compose.yml +++ b/homelab/server/config/pihole/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: PUID: ${PUID} diff --git a/homelab/server/config/plex/docker-compose.yml b/homelab/server/config/plex/docker-compose.yml index 40c277fa..0cc34c07 100644 --- a/homelab/server/config/plex/docker-compose.yml +++ b/homelab/server/config/plex/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" deploy: resources: @@ -59,6 +60,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - web @@ -85,6 +87,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: - PUID=1000 diff --git a/homelab/server/config/portainer/docker-compose.yml b/homelab/server/config/portainer/docker-compose.yml index 6b409074..f9840971 100644 --- a/homelab/server/config/portainer/docker-compose.yml +++ b/homelab/server/config/portainer/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" command: -H unix:///var/run/docker.sock networks: diff --git a/homelab/server/config/portfolio/docker-compose.yml b/homelab/server/config/portfolio/docker-compose.yml index 4f389437..72016a85 100644 --- a/homelab/server/config/portfolio/docker-compose.yml +++ b/homelab/server/config/portfolio/docker-compose.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: WORDPRESS_DB_HOST: portfolio_db diff --git a/homelab/server/config/qbittorrent/docker-compose.yml b/homelab/server/config/qbittorrent/docker-compose.yml index e58885d3..d95bc912 100644 --- a/homelab/server/config/qbittorrent/docker-compose.yml +++ b/homelab/server/config/qbittorrent/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" networks: - web restart: "no" diff --git a/homelab/server/config/send/docker-compose.yml b/homelab/server/config/send/docker-compose.yml index 241319df..52ad5739 100644 --- a/homelab/server/config/send/docker-compose.yml +++ b/homelab/server/config/send/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - send diff --git a/homelab/server/config/sftp/docker-compose.yml b/homelab/server/config/sftp/docker-compose.yml index ad812a51..f9a594df 100644 --- a/homelab/server/config/sftp/docker-compose.yml +++ b/homelab/server/config/sftp/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" ports: - 23450:22/tcp diff --git a/homelab/server/config/stashapp/docker-compose.yml b/homelab/server/config/stashapp/docker-compose.yml index df2d26e6..a1edc8e3 100644 --- a/homelab/server/config/stashapp/docker-compose.yml +++ b/homelab/server/config/stashapp/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" volumes: - /etc/localtime:/etc/localtime:ro diff --git a/homelab/server/config/traefik/docker-compose.yml b/homelab/server/config/traefik/docker-compose.yml index da3e9547..be93ab4e 100644 --- a/homelab/server/config/traefik/docker-compose.yml +++ b/homelab/server/config/traefik/docker-compose.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" networks: - web diff --git a/homelab/server/config/unifi_controller/docker-compose.yml b/homelab/server/config/unifi_controller/docker-compose.yml index 06bdc1f0..eecf7ea7 100644 --- a/homelab/server/config/unifi_controller/docker-compose.yml +++ b/homelab/server/config/unifi_controller/docker-compose.yml @@ -10,6 +10,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" environment: - PUID=1000 diff --git a/homelab/server/config/uptime-kuma/docker-compose.yml b/homelab/server/config/uptime-kuma/docker-compose.yml index e080b38c..fdb9037f 100644 --- a/homelab/server/config/uptime-kuma/docker-compose.yml +++ b/homelab/server/config/uptime-kuma/docker-compose.yml @@ -14,6 +14,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" restart: "no" volumes: - ${DOCKER_DATA}/data:/app/data diff --git a/homelab/server/config/wireguard/docker-compose.yml b/homelab/server/config/wireguard/docker-compose.yml index 2cd92e96..6346350d 100644 --- a/homelab/server/config/wireguard/docker-compose.yml +++ b/homelab/server/config/wireguard/docker-compose.yml @@ -11,6 +11,7 @@ services: loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" + keep-file: "true" env_file: - .env ports: