2020-11-12 13:30:52 +00:00
|
|
|
# DOMAIN
|
|
|
|
# This is the base domain from which all devices
|
|
|
|
# will be given a subdomain (ex: foobar.devices.example.com).
|
|
|
|
DOMAIN=devices.example.com
|
|
|
|
|
|
|
|
# TUNNEL_DOMAIN
|
|
|
|
# This is the domain that will be used for the wss:// connection URL.
|
2020-11-13 11:26:25 +00:00
|
|
|
TUNNEL_DOMAIN=tunnel.example.com
|
2020-07-22 08:05:30 +00:00
|
|
|
|
|
|
|
# For mgmt server itself
|
2020-11-13 11:26:25 +00:00
|
|
|
SECRET=XxxxxxxxxxxxxxxX
|
2020-11-12 13:30:52 +00:00
|
|
|
DB_URL=postgres://postgres:postgres@localhost:5432/postgres
|
|
|
|
|
|
|
|
# PORT
|
|
|
|
# the localhost port on which to listen
|
|
|
|
PORT=6468
|
|
|
|
|
|
|
|
# LISTEN
|
|
|
|
# alternative to PORT, including address
|
|
|
|
#LISTEN=localhost:6468
|
|
|
|
|
2020-11-13 11:26:25 +00:00
|
|
|
#DUCKDNS_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
2020-11-12 13:30:52 +00:00
|
|
|
|
|
|
|
#NAMECOM_USERNAME=johndoe
|
|
|
|
#NAMECOM_API_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
|
|
|
|
#GODADDY_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
#GODADDY_API_SECRET=XXXXXXXXXXXXXXXXXXXXXX
|
|
|
|
|
|
|
|
# For bash tests
|
|
|
|
MGMT_SECRET=XxxxxxxxxxxxxxxX
|
|
|
|
MGMT_URL=https://devices.example.com
|