Add keep-file: true to loki driver

This commit is contained in:
Joey Hafner 2022-07-14 15:22:44 -07:00
parent 33399d90e5
commit 582df413f9
32 changed files with 54 additions and 0 deletions

View File

@ -76,6 +76,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
user: "1000:1000"
restart: "no"
environment:

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -10,6 +10,8 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
environment:
- API_KEY=9DFsEwqVGRvcvKcpU7v5tORYIj-BmTJ-7zHonskl

View File

@ -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"

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "unless-stopped"
environment:
- UID=1000

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
networks:
- web
volumes:

View File

@ -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

View File

@ -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

View File

@ -11,6 +11,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
environment:
- EULA=TRUE
- MAX_MEMORY=12G

View File

@ -11,6 +11,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
environment:
- EULA=TRUE
- MAX_MEMORY=8G

View File

@ -11,6 +11,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
environment:
- EULA=TRUE
- MAX_MEMORY=6G

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
networks:
- mc-router

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
environment:
- EULA=TRUE
- VERSION=1.19

View File

@ -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*.

View File

@ -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

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
user: 1000:1000
networks:
- web

View File

@ -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

View File

@ -11,6 +11,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
networks:
web:
peertube:

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
environment:
PUID: ${PUID}

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
networks:
- web
restart: "no"

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
networks:
- send

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
ports:
- 23450:22/tcp

View File

@ -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

View File

@ -11,6 +11,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
networks:
- web

View File

@ -10,6 +10,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
environment:
- PUID=1000

View File

@ -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

View File

@ -11,6 +11,7 @@ services:
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
env_file:
- .env
ports: