docker-samples/forgejo_tailscale
2024-11-08 11:19:54 -07:00
..
.env many new containers. work in progress 2024-11-02 14:09:56 -06:00
docker-compose.yml Fix to SSH hostname on tailscale git example 2024-11-08 11:19:54 -07:00
README.md many new containers. work in progress 2024-11-02 14:09:56 -06:00
ts-serve.json many new containers. work in progress 2024-11-02 14:09:56 -06:00

Forgejo via. Tailscale

This example is a quick start to running an instance of the excellent Forgejo git server under Docker.

  • private exposed on Tailscale Tailnet
  • Pre-configured Github Action-style Runners
  • Mail delivery (assuming Mailgun, but adjustable to any SMTP server)
  • Pre-configured (no installation wizard) including admin account

Steps:

  1. Get an Auth Key from your tailscale account
  2. Copy docker-compose.yml and .env to a new folder
  3. Update variables in .env making sure to generate random secrets for the various secrets marked with ##REQUIRED##
  4. docker compose up -d
  5. Wait...
  6. Wait a bit more
  7. Visit https://git.your-name.ts.net in your browser and login with the admin credentials in your .env file.
  8. Verify settings. (i.e. do you want to disable user signups, etc.)