Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite main documentation #262

Merged
merged 19 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ listen_addr: 0.0.0.0:8080

# Private key file which will be
# autogenerated if it's missing
private_key_path: private.key
private_key_path: /var/lib/headscale/private.key

derp:
# List of externally available DERP maps encoded in JSON
urls:
- https://controlplane.tailscale.com/derpmap/default

# Locally available DERP map files encoded in YAML
paths:
- derp-example.yaml
# paths:
# - /etc/headscale/derp-example.yaml

# If enabled, a worker will be set up to periodically
# refresh the given sources and update the derpmap
Expand All @@ -33,7 +33,7 @@ ephemeral_node_inactivity_timeout: 30m

# SQLite config
db_type: sqlite3
db_path: db.sqlite
db_path: /var/lib/headscale/db.sqlite

# # Postgres config
# db_type: postgres
Expand All @@ -48,7 +48,7 @@ acme_email: ""

tls_letsencrypt_hostname: ""
tls_letsencrypt_listen: ":http"
tls_letsencrypt_cache_dir: ".cache"
tls_letsencrypt_cache_dir: /var/lib/headscale/cache
tls_letsencrypt_challenge_type: HTTP-01

tls_cert_path: ""
Expand Down
27 changes: 24 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
# Official headscale documentation
# headscale documentation

- [Configuration](Configuration.md)
- [Running](Running.md)
This page contains the official and community contributed documentation for `headscale`.

If you are having trouble with following the documentation or get unexpected results,
please ask on [Discord](https://discord.gg/XcQxk2VHjx) instead of opening an Issue.

## Official documentation

### How-to

- [Running headscale on Linux](running-headscale-linux.md)
- [DNS](DNS.md)
- [TLS](TLS.md)

### References

- [Configuration](Configuration.md)
- [Glossary](Glossary.md)

## Community documentation

Community documentation is not actively maintained by the headscale authors and is
written by community members. It is _not_ verified by `headscale` developers.

**It might be outdated and it might miss necessary steps**.

- [Running headscale in container](running-headscale-container.md)
193 changes: 0 additions & 193 deletions docs/Running.md

This file was deleted.

File renamed without changes.
4 changes: 3 additions & 1 deletion k8s/README.md → docs/examples/kubernetes/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Deploying headscale on Kubernetes

**Note:** This is contributed by the community and not verified by the headscale authors.

This directory contains [Kustomize](https://kustomize.io) templates that deploy
headscale in various configurations.

Expand Down Expand Up @@ -66,7 +68,7 @@ tasks like creating namespaces, authkeys, etc.

headscale is an open source implementation of the Tailscale control server

https://gitlab.com/juanfont/headscale
https://github.com/juanfont/headscale
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well spotted!


Usage:
headscale [command]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading