@@ -13,29 +13,30 @@ flag. This will display:
1313
1414```
1515GLOBAL OPTIONS:
16- --postgres-dsn value postgresql dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable) (default: "postgres://localhost/loraserver?sslmode=disable") [$POSTGRES_DSN]
17- --db-automigrate automatically apply database migrations [$DB_AUTOMIGRATE]
18- --redis-url value redis url (e.g. redis://user:password@hostname/0) (default: "redis://localhost:6379") [$REDIS_URL]
19- --mqtt-server value mqtt server (e.g. scheme://host:port where scheme is tcp, ssl or ws) (default: "tcp://localhost:1883") [$MQTT_SERVER]
20- --mqtt-username value mqtt server username (optional) [$MQTT_USERNAME]
21- --mqtt-password value mqtt server password (optional) [$MQTT_PASSWORD]
22- --mqtt-ca-cert mqtt CA certificate file used by the gateway backend (optional) [$MQTT_CA_CERT]
23- --ca-cert value ca certificate used by the api server (optional) [$CA_CERT]
24- --tls-cert value tls certificate used by the api server (optional) [$TLS_CERT]
25- --tls-key value tls key used by the api server (optional) [$TLS_KEY]
26- --bind value ip:port to bind the api server (default: "0.0.0.0:8001") [$BIND]
27- --http-bind value ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api) (default: "0.0.0.0:8080") [$HTTP_BIND]
28- --http-tls-cert value http server TLS certificate [$HTTP_TLS_CERT]
29- --http-tls-key value http server TLS key [$HTTP_TLS_KEY]
30- --jwt-secret value JWT secret used for api authentication / authorization [$JWT_SECRET]
31- --ns-server value hostname:port of the network-server api server (default: "127.0.0.1:8000") [$NS_SERVER]
32- --ns-ca-cert value ca certificate used by the network-server client (optional) [$NS_CA_CERT]
33- --ns-tls-cert value tls certificate used by the network-server client (optional) [$NS_TLS_CERT]
34- --ns-tls-key value tls key used by the network-server client (optional) [$NS_TLS_KEY]
35- --pw-hash-iterations value the number of iterations used to generate the password hash (default: 100000) [$PW_HASH_ITERATIONS]
36- --log-level value debug=5, info=4, warning=3, error=2, fatal=1, panic=0 (default: 4) [$LOG_LEVEL]
37- --help, -h show help
38- --version, -v print the version
16+ --postgres-dsn value postgresql dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable) (default: "postgres://localhost/loraserver?sslmode=disable") [$POSTGRES_DSN]
17+ --db-automigrate automatically apply database migrations [$DB_AUTOMIGRATE]
18+ --redis-url value redis url (e.g. redis://user:password@hostname/0) (default: "redis://localhost:6379") [$REDIS_URL]
19+ --mqtt-server value mqtt server (e.g. scheme://host:port where scheme is tcp, ssl or ws) (default: "tcp://localhost:1883") [$MQTT_SERVER]
20+ --mqtt-username value mqtt server username (optional) [$MQTT_USERNAME]
21+ --mqtt-password value mqtt server password (optional) [$MQTT_PASSWORD]
22+ --mqtt-ca-cert value mqtt CA certificate file used by the gateway backend (optional) [$MQTT_CA_CERT]
23+ --ca-cert value ca certificate used by the api server (optional) [$CA_CERT]
24+ --tls-cert value tls certificate used by the api server (optional) [$TLS_CERT]
25+ --tls-key value tls key used by the api server (optional) [$TLS_KEY]
26+ --bind value ip:port to bind the api server (default: "0.0.0.0:8001") [$BIND]
27+ --http-bind value ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api) (default: "0.0.0.0:8080") [$HTTP_BIND]
28+ --http-tls-cert value http server TLS certificate [$HTTP_TLS_CERT]
29+ --http-tls-key value http server TLS key [$HTTP_TLS_KEY]
30+ --jwt-secret value JWT secret used for api authentication / authorization [$JWT_SECRET]
31+ --ns-server value hostname:port of the network-server api server (default: "127.0.0.1:8000") [$NS_SERVER]
32+ --ns-ca-cert value ca certificate used by the network-server client (optional) [$NS_CA_CERT]
33+ --ns-tls-cert value tls certificate used by the network-server client (optional) [$NS_TLS_CERT]
34+ --ns-tls-key value tls key used by the network-server client (optional) [$NS_TLS_KEY]
35+ --pw-hash-iterations value the number of iterations used to generate the password hash (default: 100000) [$PW_HASH_ITERATIONS]
36+ --log-level value debug=5, info=4, warning=3, error=2, fatal=1, panic=0 (default: 4) [$LOG_LEVEL]
37+ --disable-assign-existing-users when set, existing users can't be re-assigned (to avoid exposure of all users to an organization admin) [$DISABLE_ASSIGN_EXISTING_USERS]
38+ --help, -h show help
39+ --version, -v print the version
3940```
4041
4142Both cli arguments and environment-variables can be used to pass configuration
0 commit comments