add locale options to guides
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7edc9642d4
commit
4791a2849e
@ -110,6 +110,7 @@ In `dev` mode, Cannery will listen for these environment variables at runtime.
|
|||||||
- `POOL_SIZE`: Controls the pool size to use with PostgreSQL. Defaults to `10`.
|
- `POOL_SIZE`: Controls the pool size to use with PostgreSQL. Defaults to `10`.
|
||||||
- `REGISTRATION`: Controls if user sign-up should be invite only or set to public. Set to `public` to enable public registration. Defaults to `invite`.
|
- `REGISTRATION`: Controls if user sign-up should be invite only or set to public. Set to `public` to enable public registration. Defaults to `invite`.
|
||||||
- `LOCALE`: Sets a custom locale. Defaults to `en_US`.
|
- `LOCALE`: Sets a custom locale. Defaults to `en_US`.
|
||||||
|
- Available options: `en_US`, `de`, and `fr`
|
||||||
|
|
||||||
## `MIX_ENV=test`
|
## `MIX_ENV=test`
|
||||||
|
|
||||||
|
@ -63,7 +63,8 @@ You can use the following environment variables to configure Cannery in
|
|||||||
with `docker run -it shibaobun/cannery mix phx.gen.secret` and set for server to start.
|
with `docker run -it shibaobun/cannery mix phx.gen.secret` and set for server to start.
|
||||||
- `REGISTRATION`: Controls if user sign-up should be invite only or set to
|
- `REGISTRATION`: Controls if user sign-up should be invite only or set to
|
||||||
public. Set to `public` to enable public registration. Defaults to `invite`.
|
public. Set to `public` to enable public registration. Defaults to `invite`.
|
||||||
- `LOCALE`: Sets a custom locale. Defaults to `en_US`.
|
- `LOCALE`: Sets a custom locale. Defaults to `en_US`
|
||||||
|
- Available options: `en_US`, `de`, and `fr`
|
||||||
- `SMTP_HOST`: The url for your SMTP email provider. Must be set
|
- `SMTP_HOST`: The url for your SMTP email provider. Must be set
|
||||||
- `SMTP_PORT`: The port for your SMTP relay. Defaults to `587`.
|
- `SMTP_PORT`: The port for your SMTP relay. Defaults to `587`.
|
||||||
- `SMTP_USERNAME`: The username for your SMTP relay. Must be set!
|
- `SMTP_USERNAME`: The username for your SMTP relay. Must be set!
|
||||||
|
Loading…
Reference in New Issue
Block a user