Separate config examples for sqlite and postgres for the time being
This commit is contained in:
parent
31344128a0
commit
6b0f5da113
3 changed files with 29 additions and 7 deletions
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
server_url: http://127.0.0.1:8080
|
||||
listen_addr: 0.0.0.0:8080
|
||||
private_key_path: private.key
|
||||
derp_map_path: derp.yaml
|
||||
ephemeral_node_inactivity_timeout: 30m
|
||||
|
||||
# Postgres config
|
||||
db_type: postgres
|
||||
db_host: localhost
|
||||
db_port: 5432
|
||||
db_name: headscale
|
||||
db_user: foo
|
||||
db_pass: bar
|
||||
|
||||
# SQLite config (uncomment it if you want to use SQLite)
|
||||
# db_type: sqlite3
|
||||
# db_path: db.sqlite
|
||||
|
||||
acme_url: https://acme-v02.api.letsencrypt.org/directory
|
||||
acme_email: ''
|
||||
tls_letsencrypt_hostname: ''
|
||||
tls_letsencrypt_listen: ":http"
|
||||
tls_letsencrypt_cache_dir: ".cache"
|
||||
tls_letsencrypt_challenge_type: HTTP-01
|
||||
tls_cert_path: ''
|
||||
tls_key_path: ''
|
||||
acl_policy_path: ''
|
||||
dns_config:
|
||||
nameservers:
|
||||
- 1.1.1.1
|
||||
domains: []
|
||||
magic_dns: true
|
||||
base_domain: example.com
|
Loading…
Add table
Add a link
Reference in a new issue