Yourls

Yourls is a URL shortener.

Configure Yourls

Run this on the Raspberry Pi
pi make yourls config

Follow the prompts to configure the domain name and admin user authentication.

(stdout)
YOURLS_TRAEFIK_HOST: Enter the YOURLS domain name (e.g., yourls.example.com)

: yourls.pi.example.com

? Do you want to enable sentry authorization in front of this app (effectively making the entire site private)?
> No
  Yes, with HTTP Basic Authentication
  Yes, with Oauth2
  Yes, with Mutual TLS (mTLS)

YOURLS_USER: Enter the admin username for your YOURLS instance

: admin

YOURLS_PASS: Enter the password for 'admin'

: 528e0e36fc170

Choose your own a secure passphrase!

Run this on the Raspberry Pi
pi make yourls install wait

Wait for the services to start and report themselves as healthy:

(stdout)
Waiting until all services are started and become healthy ...
All services healthy.

Add a new route on the sentry

Run this on your Raspberry Pi
sentry route set pi yourls.pi.example.com
Tip

You may also create the route interactively through the Traefik config menu.

Finish

Immediately secure the admin account

You should immediately open the URL in your web browser: https://yourls.pi.example.com/admin and complete the initial configuration to finsh installation.

There is no page at the root URL (Forbidden.) To administer the site, you must go to the page https://yourls.pi.example.com/admin.