headplane/docs/Basic-Integration.md

57 lines
1.8 KiB
Markdown
Raw Normal View History

2024-03-29 19:41:56 -04:00
# Basic Integration
2024-07-08 14:31:53 -04:00
The basic integration is the simplest way to get started with Headplane.
It's more of a preview and is heavily limited in the features it can offer
when compared to the [Advanced Integration](/docs/Advanced-Integration.md).
2024-03-29 19:41:56 -04:00
2024-07-08 14:31:53 -04:00
> Note that the Advanced integration is the recommend way to run
Headplane in a production environment.
## Limitations
- No automatic management of Access Control Lists (ACLs)
- No management of DNS settings for your tailnet
- No capability to edit the configuration
- Limited support for OIDC authentication
2024-03-29 19:41:56 -04:00
## Deployment
Requirements:
2024-09-25 16:26:19 -04:00
- Headscale 0.23 or newer
2024-03-29 19:41:56 -04:00
- Headscale and Headplane need a Reverse Proxy (NGINX, Traefik, Caddy, etc)
2024-07-08 14:31:53 -04:00
Docker heavily simplifies the deployment process, but this process can be
adopted to run natively. Follow the first section of the deployment guide
in the [Native Integration](/docs/integration/Native.md#deployment) for a
bare-metal or virtual machine deployment.
2024-03-29 19:41:56 -04:00
2024-07-08 14:31:53 -04:00
Here is a simple Docker Compose deployment:
2024-03-29 19:41:56 -04:00
```yaml
services:
headplane:
container_name: headplane
2024-10-11 03:09:44 -04:00
image: ghcr.io/tale/headplane:0.3.2
2024-03-29 19:41:56 -04:00
restart: unless-stopped
ports:
- '3000:3000'
environment:
HEADSCALE_URL: 'http://headscale:8080'
COOKIE_SECRET: 'abcdefghijklmnopqrstuvwxyz'
# These are all optional!
ROOT_API_KEY: 'abcdefghijklmnopqrstuvwxyz'
2024-03-29 19:41:56 -04:00
OIDC_CLIENT_ID: 'headscale'
OIDC_ISSUER: 'https://sso.example.com'
OIDC_CLIENT_SECRET: 'super_secret_client_secret'
DISABLE_API_KEY_LOGIN: 'true'
COOKIE_SECURE: 'false'
# These are the default values
2024-03-29 19:41:56 -04:00
HOST: '0.0.0.0'
PORT: '3000'
```
2024-07-08 14:31:53 -04:00
> For a breakdown of each configuration variable, please refer to the
[Configuration](/docs/Configuration.md) guide.
> It explains what each variable does, how to configure them, and what the
default values are.