Remove unnecessary labels from logging config
All checks were successful
Build and Push CadPoint1998-site / build-and-push (push) Successful in 1m27s
All checks were successful
Build and Push CadPoint1998-site / build-and-push (push) Successful in 1m27s
- Remove 'service=cadpoint1998' label from docker-compose.prod.yml - Labels are not used by json-file logging driver - Keep only max-size and max-file options
This commit is contained in:
@@ -50,7 +50,6 @@ services:
|
|||||||
options:
|
options:
|
||||||
max-size: "10m" # больше лимит в продакшене для логирования
|
max-size: "10m" # больше лимит в продакшене для логирования
|
||||||
max-file: "1" # храним 1 файл лога
|
max-file: "1" # храним 1 файл лога
|
||||||
labels: "service=cadpoint1998"
|
|
||||||
|
|
||||||
# Сеть для взаимодействия с другими контейнерами
|
# Сеть для взаимодействия с другими контейнерами
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user