diff --git a/templates/compose.yaml b/templates/compose.yaml index b6a1291..89e5b0e 100644 --- a/templates/compose.yaml +++ b/templates/compose.yaml @@ -24,6 +24,11 @@ services: - traefik - default restart: always + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" app: &defaultApp image: {{ registry_url }}/{{ registry_project }}/{{ chill_image_php_name }}:{{ item.chill_image_tag }} @@ -45,6 +50,11 @@ services: networks: - default restart: always + logging: + driver: json-file + options: + max-size: "50m" + max-file: "3" consumer: <<: *defaultApp @@ -92,12 +102,22 @@ services: networks: - default restart: always + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" relatorio: image: "{{ chill_image_relatorio }}" networks: - default restart: always + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" ###< chill-project/chill-bundles ### # sign-worker: @@ -136,6 +156,11 @@ services: networks: - default restart: always + logging: + driver: json-file + options: + max-size: "10m" + max-file: "3" networks: traefik: