Skip to content
Snippets Groups Projects
Commit b8ffbcf2 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-561' into 'master'

L2SS-561: Add 100mb log limit to all containers not using syslog

Closes L2SS-561

See merge request !224
parents 9f0ef5d2 614342e3
No related branches found
No related tags found
1 merge request!224L2SS-561: Add 100mb log limit to all containers not using syslog
...@@ -8,6 +8,11 @@ services: ...@@ -8,6 +8,11 @@ services:
build: build:
context: tango-prometheus-exporter context: tango-prometheus-exporter
container_name: ${CONTAINER_NAME_PREFIX}tango-prometheus-exporter container_name: ${CONTAINER_NAME_PREFIX}tango-prometheus-exporter
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
networks: networks:
- control - control
environment: environment:
......
...@@ -14,6 +14,11 @@ services: ...@@ -14,6 +14,11 @@ services:
- LOCAL_DOCKER_REGISTRY_HOST=${LOCAL_DOCKER_REGISTRY_HOST} - LOCAL_DOCKER_REGISTRY_HOST=${LOCAL_DOCKER_REGISTRY_HOST}
- LOCAL_DOCKER_REGISTRY_LOFAR=${LOCAL_DOCKER_REGISTRY_LOFAR} - LOCAL_DOCKER_REGISTRY_LOFAR=${LOCAL_DOCKER_REGISTRY_LOFAR}
container_name: ${CONTAINER_NAME_PREFIX}unb2-sim container_name: ${CONTAINER_NAME_PREFIX}unb2-sim
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
networks: networks:
- control - control
entrypoint: python3 pypcc2.py --simulator --port 4841 --config UNB2 entrypoint: python3 pypcc2.py --simulator --port 4841 --config UNB2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment