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
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,7 @@ $ solid start --help
171
171
--webid Enable WebID authentication and access control (uses HTTPS)
172
172
--mount [value] Serve on a specific URL path (default: '/')
173
173
--config-path [value]
174
+
--config-file [value]
174
175
--db-path [value]
175
176
--auth [value] Pick an authentication strategy for WebID: `tls` or `oidc`
176
177
--owner [value] Set the owner of the storage (overwrites the root ACL file)
@@ -197,9 +198,20 @@ $ solid start --help
197
198
--email-auth-pass [value] Password of your email service
198
199
--useApiApps Do you want to load your default apps on /api/apps?
199
200
--api-apps [value] Path to the folder to mount on /api/apps
201
+
--redirect-http-from [value] HTTP port or ','-separated ports to redirect to the solid server port (e.g. "80,8080").
202
+
--server-name [value] A name for your server (not required, but will be presented on your server's frontpage)
203
+
--server-description [value] A description of your server (not required)
204
+
--server-logo [value] A logo that represents you, your brand, or your server (not required)
200
205
-v, --verbose Print the logs to console
206
+
-h, --help output usage information
201
207
```
202
208
209
+
Instead of using flags, these same options can also be configured via environment variables taking the form of `SOLID_` followed by the `SNAKE_CASE` of the flag. For example `--api-apps` can be set via the `SOLID_API_APPS`environment variable, and `--serverUri` can be set with `SOLID_SERVER_URI`.
210
+
211
+
CLI flags take precedence over Environment variables, which take precedence over entries in the config file.
212
+
213
+
Configuring Solid via the config file can be a concise and convenient method and is the generally recommended approach. CLI flags can be useful when you would like to override a single configuration parameter, and using environment variables can be helpful in situations where you wish to deploy a single generic Docker image to multiple environments.
0 commit comments