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
--clerk-api-url TEXT The CLERK API URL - for user authentication.
129
+
Defaults to environment variable
130
+
CLERK_API_URL if set, or
131
+
https://api.clerk.dev if not set.
132
+
[required]
133
+
--clerk-secret-key TEXT The CLERK Secret Key - for user
134
+
authentication. Defaults to environment
135
+
variable CLERK_SECRET_KEY if set.
136
+
[required]
137
+
--jwks-url TEXT The JWKS URL used for client session JWT
138
+
token validation - for user authentication.
139
+
Defaults to environment variable JWKS_URL if
140
+
set. Example: https://wise-
141
+
cattle-777.clerk.accounts.dev/.well-
142
+
known/jwks.json [required]
143
+
--session-token-issuer TEXT The issuer used for client session JWT token
144
+
validation - for user authentication.
145
+
Defaults to environment variable
146
+
SESSION_TOKEN_ISSUER if set. Example:
147
+
https://wise-cattle-777.clerk.accounts.dev
148
+
[required]
149
+
--max-process-workers INTEGER Max process workers. Defaults to
150
+
environment variable MAX_PROCESS_WORKERS if
151
+
set. [default: 10; required]
152
+
--websocket-ping-timeout INTEGER
153
+
Web-socket ping timeout. Defaults to
154
+
environment variable PING_TIMEOUT if set.
155
+
[default: 60; required]
156
+
--max-websocket-message-size INTEGER
157
+
Maximum Websocket message size [default:
158
+
1073741824; required]
159
+
--client-default-fetch-size INTEGER
160
+
The default websocket client fetch size for
161
+
queries. [default: 50; required]
162
+
--help Show this message and exit.
163
+
```
164
+
165
+
### Running the server via Docker
166
+
You can optionally run the Flight SQL WebSocket Proxy Server via Docker:
93
167
94
168
**Note** - this assumes that you have your Github Access Token stored as an env var named `{GITHUB_ACCESS_TOKEN}`. See: [Creating a personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) for more information.
help="Enable transport-level security (TLS/SSL). Provide a Certificate file path, and a Key file path - separated by a space. Example: tls/server.crt tls/server.key"
40
+
help="Enable transport-level security (TLS/SSL). Provide a Certificate file path, and a Key file path - separated by a space. Defaults to environment variable TLS if set. Example: tls/server.crt tls/server.key"
help="The CLERK API URL - for user authentication."
80
+
help="The CLERK API URL - for user authentication. Defaults to environment variable CLERK_API_URL if set, or https://api.clerk.dev if not set."
81
81
)
82
82
@click.option(
83
83
"--clerk-secret-key",
84
84
type=str,
85
85
default=os.getenv("CLERK_SECRET_KEY"),
86
86
show_default=False,
87
87
required=True,
88
-
help="The CLERK Secret Key - for user authentication."
88
+
help="The CLERK Secret Key - for user authentication. Defaults to environment variable CLERK_SECRET_KEY if set."
89
89
)
90
90
@click.option(
91
91
"--jwks-url",
92
92
type=str,
93
93
default=os.getenv("JWKS_URL"),
94
-
show_default=True,
94
+
show_default=False,
95
95
required=True,
96
-
help="The JWKS URL used for client session JWT token validation - for user authentication."
96
+
help="The JWKS URL used for client session JWT token validation - for user authentication. Defaults to environment variable JWKS_URL if set. Example: https://wise-cattle-777.clerk.accounts.dev/.well-known/jwks.json"
97
97
)
98
98
@click.option(
99
99
"--session-token-issuer",
100
100
type=str,
101
101
default=os.getenv("SESSION_TOKEN_ISSUER"),
102
-
show_default=True,
102
+
show_default=False,
103
103
required=True,
104
-
help="The issuer used for client session JWT token validation - for user authentication."
104
+
help="The issuer used for client session JWT token validation - for user authentication. Defaults to environment variable SESSION_TOKEN_ISSUER if set. Example: https://wise-cattle-777.clerk.accounts.dev"
0 commit comments