mirror of
https://github.com/openziti/zrok.git
synced 2024-12-23 15:18:52 +01:00
9a55043a81
Set spec v4 Re: https://github.com/openziti/zrok/issues/653 Signed-off-by: Kenneth Bingham <kenneth.bingham@netfoundry.io>
26 lines
619 B
Plaintext
26 lines
619 B
Plaintext
# _____ __ ___ | | __
|
|
# |_ / '__/ _ \| |/ /
|
|
# / /| | | (_) | <
|
|
# /___|_| \___/|_|\_\
|
|
# controller configuration
|
|
|
|
v: 4
|
|
admin:
|
|
# generate these admin tokens from a source of randomness, e.g.
|
|
# LC_ALL=C tr -dc _A-Z-a-z-0-9 < /dev/urandom | head -c32
|
|
secrets:
|
|
- ${ZROK_ADMIN_TOKEN}
|
|
endpoint:
|
|
host: 0.0.0.0
|
|
port: ${ZROK_CTRL_PORT}
|
|
invites:
|
|
invites_open: true
|
|
token_strategy: store
|
|
store:
|
|
path: /var/lib/zrok-controller/sqlite3.db
|
|
type: sqlite3
|
|
ziti:
|
|
api_endpoint: https://ziti.${ZROK_DNS_ZONE}:${ZITI_CTRL_ADVERTISED_PORT}/edge/management/v1
|
|
username: admin
|
|
password: ${ZITI_PWD}
|