You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--redis-connection-string value Redis connection string, must include schema (<redis|rediss|unix>://<user>:<pass>@<host>:<port>/<db>?<options> [$REDIS_CONNECTION_STRING]
40
-
--redis-host value Redis host to be connected to (default: "127.0.0.1") [$REDIS_HOST]
41
-
--redis-port value Redis port to be connected to (default: "6379") [$REDIS_PORT]
42
-
--redis-pass value Password to be used for redis [$REDIS_PASS]
43
-
--redis-db value Redis database to be selected after connecting (default: 0) [$REDIS_DB]
44
-
--redis-conn-retry value Time in seconds to retry the connection to the cache, if set to 0 the service will stop if the connection fails (default: 7) [$REDIS_CONN_RETRY]
45
-
--db, -d Provide DB configuration via JSON file (default: false) [$DB_CONFIG]
46
-
--db-file FILE, -D FILE Load DB configuration from FILE (default: "config/db.json") [$DB_CONFIG_FILE]
47
-
--db-host value Backend host to be connected to (default: "127.0.0.1") [$DB_HOST]
48
-
--db-port value Backend port to be connected to (default: "5432") [$DB_PORT]
49
-
--db-name value Database name to be used in the backend (default: "osctrl") [$DB_NAME]
50
-
--db-user value Username to be used for the backend (default: "postgres") [$DB_USER]
51
-
--db-pass value Password to be used for the backend (default: "postgres") [$DB_PASS]
52
-
--db-sslmode value SSL native support to encrypt the connection to the backend (default: "disable") [$DB_SSLMODE]
53
-
--db-max-idle-conns value Maximum number of connections in the idle connection pool (default: 20) [$DB_MAX_IDLE_CONNS]
54
-
--db-max-open-conns value Maximum number of open connections to the database (default: 100) [$DB_MAX_OPEN_CONNS]
55
-
--db-conn-max-lifetime value Maximum amount of time a connection may be reused (default: 30) [$DB_CONN_MAX_LIFETIME]
56
-
--db-conn-retry value Time in seconds to retry the connection to the database, if set to 0 the service will stop if the connection fails (default: 7) [$DB_CONN_RETRY]
57
-
--tls, -t Enable TLS termination. It requires certificate and key (default: false) [$TLS_SERVER]
--jwt, -j Provide JWT configuration via JSON file (default: false) [$JWT_CONFIG]
61
-
--jwt-file FILE Load JWT configuration from FILE (default: "config/jwt.json") [$JWT_CONFIG_FILE]
62
-
--jwt-secret value Password to be used for the backend [$JWT_SECRET]
63
-
--jwt-expire value Maximum amount of hours for the tokens to expire (default: 3) [$JWT_EXPIRE]
64
-
--version, -v print the version
29
+
--config, -c Provide service configuration via YAML file [$SERVICE_CONFIG]
30
+
--config-file FILE, -C FILE Load service configuration from FILE (default: "./config/api.yml") [$SERVICE_CONFIG_FILE]
31
+
--listener string, -l string Listener for the service (default: "127.0.0.1") [$SERVICE_LISTENER]
32
+
--port int, -p int TCP port for the service (default: 9000) [$SERVICE_PORT]
33
+
--host string, -H string Exposed hostname the service uses (default: "osctrl.net") [$SERVICE_HOST]
34
+
--auth string, -A string Authentication mechanism for the service (default: "none") [$SERVICE_AUTH]
35
+
--log-level string Log level for the service (default: "info") [$SERVICE_LOG_LEVEL]
36
+
--log-format string Log format for the service (default: "json") [$SERVICE_LOG_FORMAT]
37
+
--audit-log, --audit Enable audit log for the service. Logs all sensitive actions [$AUDIT_LOG]
38
+
--logger string, -L string Logger mechanism to handle status/result logs from nodes (default: "db") [$SERVICE_LOGGER]
39
+
--logger-db-same Use the same DB configuration for the logger [$LOGGER_DB_SAME]
40
+
--always-log, -a, --always Always log status and on-demand query logs from nodes in database [$ALWAYS_LOG]
41
+
--redis-connection-string string Redis connection string, must include schema (<redis|rediss|unix>://<user>:<pass>@<host>:<port>/<db>?<options> [$REDIS_CONNECTION_STRING]
42
+
--redis-host string Redis host to be connected to (default: "127.0.0.1") [$REDIS_HOST]
43
+
--redis-port int Redis port to be connected to (default: 6379) [$REDIS_PORT]
44
+
--redis-pass string Password to be used for redis [$REDIS_PASS]
45
+
--redis-db int Redis database to be selected after connecting (default: 0) [$REDIS_DB]
46
+
--redis-conn-retry int Time in seconds to retry the connection to the cache, if set to 0 the service will stop if the connection fails (default: 10) [$REDIS_CONN_RETRY]
47
+
--db-type string Type of backend to be used (default: "postgres") [$DB_TYPE]
48
+
--db-host string Backend host to be connected to (default: "127.0.0.1") [$DB_HOST]
49
+
--db-port int Backend port to be connected to (default: 5432) [$DB_PORT]
50
+
--db-name string Database name to be used in the backend (default: "osctrl") [$DB_NAME]
51
+
--db-user string Username to be used for the backend (default: "postgres") [$DB_USER]
52
+
--db-pass string Password to be used for the backend (default: "postgres") [$DB_PASS]
53
+
--db-sslmode string SSL native support to encrypt the connection to the backend (default: "disable") [$DB_SSLMODE]
54
+
--db-max-idle-conns int Maximum number of connections in the idle connection pool (default: 20) [$DB_MAX_IDLE_CONNS]
55
+
--db-max-open-conns int Maximum number of open connections to the database (default: 100) [$DB_MAX_OPEN_CONNS]
56
+
--db-conn-max-lifetime int Maximum amount of time a connection may be reused (default: 30) [$DB_CONN_MAX_LIFETIME]
57
+
--db-conn-retry int Time in seconds to retry the connection to the database, if set to 0 the service will stop if the connection fails (default: 10) [$DB_CONN_RETRY]
58
+
--db-filepath string File path to the SQLite database, only used when type is sqlite (default: "./osctrl.db") [$DB_SQLITE_FILEPATH]
59
+
--tls, -t Enable TLS termination. It requires certificate and key [$TLS_SERVER]
0 commit comments