diff --git a/compose.yaml b/compose.yaml index 9f33815..cb3eb4e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -14,6 +14,7 @@ services: RMM_SESSION_SECRET: "${RMM_SESSION_SECRET:-dev-session-secret-change-me}" RMM_COOKIE_SECURE: "${RMM_COOKIE_SECURE:-false}" RMM_TUNNEL_HTTP_HOST: tunnel-ssh + RMM_TUNNEL_KEY_PATH: "${RMM_TUNNEL_KEY_PATH:-./secrets/router_tunnel_key.pub}" ports: - "${RMM_HTTP_BIND_IP:-0.0.0.0}:${RMM_HTTP_PORT:-18080}:8080" volumes: @@ -28,7 +29,7 @@ services: - "${RMM_TUNNEL_BIND_IP:-0.0.0.0}:22000-22099:22000-22099" volumes: - tunnel-data:/data - - ./secrets/router_tunnel_key.pub:/bootstrap/router_tunnel_key.pub:ro + - "${RMM_TUNNEL_KEY_PATH}:/bootstrap/router_tunnel_key.pub:ro" restart: unless-stopped volumes: