Configurable dashboard & log level, + healthcheck
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
04449b08b8
commit
cfdaf183fe
10
compose.yml
10
compose.yml
|
@ -19,6 +19,15 @@ services:
|
||||||
target: /etc/traefik/file-provider.yml
|
target: /etc/traefik/file-provider.yml
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
environment:
|
||||||
|
- DASHBOARD_ENABLED
|
||||||
|
- LOG_LEVEL
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "traefik", "healthcheck"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 10
|
||||||
|
start_period: 1m
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
@ -40,6 +49,7 @@ configs:
|
||||||
traefik_yml:
|
traefik_yml:
|
||||||
name: ${STACK_NAME}_traefik_yml_${TRAEFIK_YML_VERSION}
|
name: ${STACK_NAME}_traefik_yml_${TRAEFIK_YML_VERSION}
|
||||||
file: traefik.yml
|
file: traefik.yml
|
||||||
|
template_driver: golang
|
||||||
file_provider_yml:
|
file_provider_yml:
|
||||||
name: ${STACK_NAME}_file_provider_yml_${FILE_PROVIDER_YML_VERSION}
|
name: ${STACK_NAME}_file_provider_yml_${FILE_PROVIDER_YML_VERSION}
|
||||||
file: file-provider.yml
|
file: file-provider.yml
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
log:
|
log:
|
||||||
level: INFO
|
level: {{ env "LOG_LEVEL" }}
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
docker:
|
docker:
|
||||||
|
@ -12,7 +12,7 @@ providers:
|
||||||
filename: /etc/traefik/file-provider.yml
|
filename: /etc/traefik/file-provider.yml
|
||||||
|
|
||||||
api:
|
api:
|
||||||
dashboard: false
|
dashboard: {{ env "DASHBOARD_ENABLED" }}
|
||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
entrypoints:
|
entrypoints:
|
||||||
|
@ -29,6 +29,9 @@ entrypoints:
|
||||||
smtp-submission:
|
smtp-submission:
|
||||||
address: ":587"
|
address: ":587"
|
||||||
|
|
||||||
|
ping:
|
||||||
|
entryPoint: web
|
||||||
|
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
staging:
|
staging:
|
||||||
acme:
|
acme:
|
||||||
|
|
Loading…
Reference in New Issue