add route to admin endpoint #26

Open
ammaratef45 wants to merge 1 commits from admin-endpoint into main
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
export GARAGE_CONF_VERSION=v7
export GARAGE_CONF_VERSION=v8
+4
View File
@@ -24,6 +24,10 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.service=${STACK_NAME}"
- "traefik.http.services.${STACK_NAME}-admin.loadbalancer.server.port=3903"
- "traefik.http.routers.${STACK_NAME}-admin.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}-admin.entrypoints=garage-admin"
- "traefik.http.routers.${STACK_NAME}-admin.service=${STACK_NAME}-admin"
- "traefik.tcp.routers.${STACK_NAME}-rpc.rule=HostSNI(`*`)"
- "traefik.tcp.routers.${STACK_NAME}-rpc.entrypoints=garage-rpc"
- "traefik.tcp.services.${STACK_NAME}-rpc.loadbalancer.server.port=3901"
+1 -1
View File
@@ -30,7 +30,7 @@ root_domain = ".s3.garage"
{{ if eq (env "MONITORING_ENABLED") "true" }}
[admin]
api_bind_addr = "[::]:3903"
api_bind_addr = "0.0.0.0:3903"
admin_token_file = "/run/secrets/admin_token"
metrics_require_token = true
metrics_token_file = "/run/secrets/metrics_token"