Add keep-file: true to loki driver
This commit is contained in:
parent
33399d90e5
commit
582df413f9
@ -76,6 +76,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
user: "1000:1000"
|
||||
restart: "no"
|
||||
environment:
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
- UID=1000
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -11,6 +11,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
environment:
|
||||
- EULA=TRUE
|
||||
- MAX_MEMORY=12G
|
||||
|
@ -11,6 +11,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
environment:
|
||||
- EULA=TRUE
|
||||
- MAX_MEMORY=8G
|
||||
|
@ -11,6 +11,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
environment:
|
||||
- EULA=TRUE
|
||||
- MAX_MEMORY=6G
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- mc-router
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
environment:
|
||||
- EULA=TRUE
|
||||
- VERSION=1.19
|
||||
|
@ -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*.
|
||||
|
||||
|
@ -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
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
user: 1000:1000
|
||||
networks:
|
||||
- web
|
||||
|
@ -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
|
||||
|
@ -11,6 +11,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
networks:
|
||||
web:
|
||||
peertube:
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
environment:
|
||||
PUID: ${PUID}
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
networks:
|
||||
- web
|
||||
restart: "no"
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- send
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
ports:
|
||||
- 23450:22/tcp
|
||||
|
@ -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
|
||||
|
@ -11,6 +11,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
networks:
|
||||
- web
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
restart: "no"
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -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
|
||||
|
@ -11,6 +11,7 @@ services:
|
||||
loki-batch-size: "50"
|
||||
loki-retries: "1"
|
||||
loki-timeout: "2s"
|
||||
keep-file: "true"
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user