password fix

This commit is contained in:
knoflook 2022-03-18 11:21:32 +01:00
parent 8c6c8fb8f3
commit 7c260164a8
Signed by: knoflook
GPG Key ID: D6A1D0E8FC4FEF1C
2 changed files with 4 additions and 15 deletions

View File

@ -48,7 +48,7 @@ services:
- source: node_exporter_entrypoint_sh
target: /entrypoint.sh
networks:
- proxy
- internal
entrypoint: ["/bin/sh", "-e", "/entrypoint.sh"]
cadvisor:
@ -61,18 +61,7 @@ services:
- /var/run:/var/run:ro
- /:/rootfs:ro
networks:
- proxy
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "traefik.http.routers.${STACK_NAME}.rule=(Host(`${DOMAIN}`) && PathPrefix(`/cadvisor`))"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.0.1+v1.0.1"
- internal
#
# promtail:
# image: grafana/promtail:2.0.0
@ -100,7 +89,7 @@ configs:
htpasswd_conf:
template_driver: golang
name: ${STACK_NAME}_htpasswd_${HTPASSWD_CONFIG_VERSION}
file: loki.htpasswd.tmpl
file: htpasswd.tmpl
networks:
internal:

View File

@ -1 +1 @@
loki:{{ secret "loki_admin_password" }}
admin:{{ secret "nginx_htpassword" }}