Commit d7de54fb authored by Jacob Priddy's avatar Jacob Priddy 👌

limit log size for docker containers

parent f28afa32
Pipeline #12479 passed with stages
in 3 minutes and 46 seconds
......@@ -41,6 +41,10 @@ services:
- ./simple-saml-idp/cert:/var/simplesamlphp-idp/cert
- ./simple-saml-idp/config:/var/simplesamlphp-idp/config
- ./simple-saml-idp/metadata:/var/simplesamlphp-idp/metadata
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
postgres:
......@@ -56,6 +60,10 @@ services:
POSTGRES_USER: web
POSTGRES_PASSWORD: secret
POSTGRES_DB: doorcode
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
dbadmin:
......@@ -72,6 +80,10 @@ services:
environment:
PGADMIN_DEFAULT_EMAIL: admin@elock
PGADMIN_DEFAULT_PASSWORD: secret
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
api:
......@@ -94,5 +106,9 @@ services:
ports:
- "9000:9000"
- "8000:8000"
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
......@@ -49,6 +49,10 @@ services:
- ./simple-saml-prod/cert:/var/simplesamlphp/cert
- ./simple-saml-prod/config:/var/simplesamlphp/config
- ./simple-saml-prod/metadata:/var/simplesamlphp/metadata
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
postgres:
......@@ -65,6 +69,10 @@ services:
POSTGRES_USER: web
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
POSTGRES_DB: doorcode
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
dbadmin:
......@@ -78,6 +86,10 @@ services:
environment:
PGADMIN_DEFAULT_EMAIL: admin@elock
PGADMIN_DEFAULT_PASSWORD: Please change the default password.
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
api:
......@@ -92,5 +104,9 @@ services:
- ./simple-saml-prod/cert:/var/simplesamlphp/cert
- ./simple-saml-prod/config:/var/simplesamlphp/config
- ./simple-saml-prod/metadata:/var/simplesamlphp/metadata
logging:
options:
max-size: "10m"
max-file: "3"
networks:
- doorcode
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment