https://github.com/duumxh/services-tailscale
Access services over your tailnet
https://github.com/duumxh/services-tailscale
docker docker-compose podman quadlet tailscale
Last synced: 27 days ago
JSON representation
Access services over your tailnet
- Host: GitHub
- URL: https://github.com/duumxh/services-tailscale
- Owner: duumxh
- Created: 2024-07-10T17:52:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T23:39:52.000Z (almost 2 years ago)
- Last Synced: 2025-04-09T17:13:22.727Z (about 1 year ago)
- Topics: docker, docker-compose, podman, quadlet, tailscale
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selfhost services inside your tailnet
You'll need Docker, your own tailnet, hands.
Inside your admin console on Tailscale go ahead and grab yourself a auth key (Settings - Personal Settings - Keys). Make sure its not ephemeral (unless you want to). Make sure you have HTTPS and MagicDNS enabled.
## Vaultwarden Setup
Grab docker-compose file from docker/vaultwarden and make sure to edit environment variables:
* TS_AUTHKEY: authkey you have generated to access your tailnet
* TS_HOSTNAME: hostname to be used to access your vaultwarden instance inside tailnet (HOSTNAME.tailnet.ts.net)
* POSTGRES_PASSWORD: your custom password for postgres database
* DATABASE_URL: put your custom password for postgres database
* DOMAIN: full url to be accessible from your tailnet.
Use `docker compose up -d` to start your vaultwarden setup. New device should appear in your tailnet with hostname you have set.
After making sure that vaultwarden instance is running, you need to configure tailscale to serve your application.
```
# docker exec -it vaultwarden-ts sh
# tailscale serve -bg localhost:8080
```
Application should be available at device domain.