password fix
This commit is contained in:
parent
8c6c8fb8f3
commit
7c260164a8
17
compose.yml
17
compose.yml
|
@ -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:
|
||||
|
|
|
@ -1 +1 @@
|
|||
loki:{{ secret "loki_admin_password" }}
|
||||
admin:{{ secret "nginx_htpassword" }}
|
||||
|
|
Loading…
Reference in New Issue