{% extends "base.html" %} {% block content %}

Settings

Configure public access and the GitHub App for this VPS. Credentials stay on this machine.

{% if generated_password %} {% endif %}

Public access

The API still binds to {{ api_host }}:{{ api_port }}. Nginx publishes this console.

Public URL
{% if dashboard.url %}{{ dashboard.url }}{% else %}not published{% endif %}
Hosts
{% if dashboard.hosts %}{{ dashboard.hosts|join(", ") }}{% else %}none{% endif %}
HTTPS
{% if dashboard.ssl %}enabled{% else %}off{% endif %}
Password
{% if dashboard.password_set %}set{% else %}not set{% endif %}
Docs site
{{ site_url }}

GitHub App

{% if github.configured %}

Configured. App ID {{ github.app_id }}{% if github.installation_id %} · installation {{ github.installation_id }}{% endif %}.

{% else %}

Not configured.

{% endif %} {% if github.webhook_url %}

VPS Deployer will create a private GitHub App with the correct webhook URL, read-only repository permission, and push events. GitHub generates the private key and webhook secret; both are stored only on this VPS.

{{ github.webhook_url }}

{% if not dashboard.ssl %}

Enable HTTPS above before connecting GitHub on a production VPS.

{% endif %} {% else %}

Publish this dashboard on a hostname first. VPS Deployer will then identify the webhook URL automatically.

{% endif %}
Manual GitHub App setup
  1. Create a GitHub App at github.com/settings/apps/new.
  2. Use {{ github.webhook_url or github.webhook_path }}, subscribe to push, and grant Contents read-only permission.
  3. Generate a private key, install the app, and enter the credentials below.
{% if github.configured %}

Repositories this app can access

{% if repos_error %}

{{ repos_error }}

{% elif repositories %} {% else %}

No repositories listed. Install the app on an account and add an installation ID if needed.

{% endif %} {% endif %}
{% endblock %}