Skip to content

Commit

Permalink
OPS Traefik loglevel as variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnicegyu11 committed Oct 24, 2023
1 parent 35fc523 commit 145f62b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
command:
- '--api=true'
- '--api.dashboard=true'
- '--log.level=WARNING'
- '--log.level=${OPS_TRAEFIK_LOGLEVEL}'
- '--accesslog=true'
- '--metrics.prometheus=true'
- '--metrics.prometheus.addEntryPointsLabels=true'
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.dalco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
command:
- '--api=true'
- '--api.dashboard=true'
- '--log.level=INFO'
- '--log.level=${OPS_TRAEFIK_LOGLEVEL}'
# - '--accesslog=true'
- '--metrics.prometheus=true'
- '--metrics.prometheus.addEntryPointsLabels=true'
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.letsencrypt.http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
command:
- "--api=true"
- "--api.dashboard=true"
- "--log.level=INFO"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
- "--metrics.prometheus=true"
- "--metrics.prometheus.addEntryPointsLabels=true"
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- "/customEntrypoint.sh"
- "--api=true"
- "--api.dashboard=true"
- "--log.level=DEBUG"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=true"
- "--metrics.prometheus=true"
- "--metrics.prometheus.addEntryPointsLabels=true"
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
command:
- '--api=true'
- '--api.dashboard=true'
- '--log.level=WARNING'
- '--log.level=${OPS_TRAEFIK_LOGLEVEL}'
# - '--accesslog=true'
- '--metrics.prometheus=true'
- '--metrics.prometheus.addEntryPointsLabels=true'
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
command:
- '--api=true'
- '--api.dashboard=true'
- '--log.level=INFO'
- '--log.level=${OPS_TRAEFIK_LOGLEVEL}'
- '--accesslog=false'
- '--metrics.prometheus=true'
- '--metrics.prometheus.addEntryPointsLabels=true'
Expand Down
2 changes: 1 addition & 1 deletion services/traefik/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
command:
- "--api=true"
- "--api.dashboard=true"
- "--log.level=INFO"
- "--log.level=${OPS_TRAEFIK_LOGLEVEL}"
- "--accesslog=false"
- "--metrics.prometheus=true"
- "--metrics.prometheus.addEntryPointsLabels=true"
Expand Down
1 change: 1 addition & 0 deletions services/traefik/template.env
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ DEPLOYMENT_FQDNS='${DEPLOYMENT_FQDNS}'
CERTIFICATE_GENERATION_FQDNS='${CERTIFICATE_GENERATION_FQDNS}'
CERTIFICATE_RESOLVE_DNS_CHALLANGE_IP=${CERTIFICATE_RESOLVE_DNS_CHALLANGE_IP}
OPS_TRAEFIK_LETSENCRYPT_ACME_CA_SERVER=${OPS_TRAEFIK_LETSENCRYPT_ACME_CA_SERVER}
OPS_TRAEFIK_LOGLEVEL=${OPS_TRAEFIK_LOGLEVEL}

0 comments on commit 145f62b

Please sign in to comment.