fix: update uid encryption key defaults
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ You can specify the following environment variables when issuing `docker run` co
|
||||
| `TLS_DOMAIN_NAME`[^2] | string | | If non-empty, enables TLS (http**s**) and configures domain name of your container, e.g. `www.example.com`. In order for TLS to work you have to expose your HTTPS port to the Internet and correctly configure DNS. It WILL FAIL with `localhost` or unroutable IPs. |
|
||||
| `TNPG_AUTH_TOKEN` | string | | Tinode Push Gateway authentication token. |
|
||||
| `TNPG_ORG`[^2] | string | | Tinode Push Gateway organization name as registered at https://console.tinode.co |
|
||||
| `UID_ENCRYPTION_KEY`[^2] | string | `la6YsO+bNX/+XIkOqc5Svw==` | base64-encoded 16 random bytes used as an encryption key for user IDs. |
|
||||
| `UID_ENCRYPTION_KEY`[^2] | string | `dkXxWLwqUNRfYmdXRzOkZw==` | base64-encoded 16 random bytes used as an encryption key for user IDs. |
|
||||
| `UPGRADE_DB` | bool | `false` | Upgrade database schema, if necessary. |
|
||||
| `WAIT_FOR` | string | | If non-empty, waits for the specified database `host:port` to be available before starting the server. |
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ ENV API_KEY_SALT=T713/rYYgW7g4m3vG6zGRh7+FM1t0T8j13koXScOAj4=
|
||||
ENV AUTH_TOKEN_KEY=wfaY2RgF2S1OQI/ZlK+LSrp1KB2jwAdGAIHQ7JZn+Kc=
|
||||
|
||||
# Key to initialize UID generator
|
||||
ENV UID_ENCRYPTION_KEY=la6YsO+bNX/+XIkOqc5Svw==
|
||||
ENV UID_ENCRYPTION_KEY=dkXxWLwqUNRfYmdXRzOkZw==
|
||||
|
||||
# Disable TLS by default.
|
||||
ENV TLS_ENABLED=false
|
||||
|
||||
Reference in New Issue
Block a user