14 lines
1.1 KiB
Plaintext
14 lines
1.1 KiB
Plaintext
# Copy to .env on the production server (git-ignored, chmod 600) and fill in. See docs/ENVIRONMENTS.md.
|
|
# The API refuses to start while a connection string or Jwt__Key is missing, so fill these in before `docker compose up`.
|
|
ConnectionStrings__NAFITHTCS=User Id=<schema>;Password=<secret>;Data Source=<host>:1521/<service>;Min Pool Size=5;Max Pool Size=100;Connection Timeout=15;Statement Cache Size=50
|
|
ConnectionStrings__NtpSchema=User Id=<schema>;Password=<secret>;Data Source=<host>:1521/<service>;Min Pool Size=5;Max Pool Size=100;Connection Timeout=15;Statement Cache Size=50
|
|
# at least 32 random characters, a NEW value for production (openssl rand -base64 48)
|
|
Jwt__Key=
|
|
# origin users open in the browser, exactly as typed in the address bar
|
|
Cors__AllowedOrigins__0=https://<production-host>
|
|
# logins that may hold role SU (none by default in production), e.g. Auth__SuperUsers__0=login
|
|
# SMS account for owners without the app (secret; without it the SMS is skipped with a warning)
|
|
# Grains__Permits__Notifications__Sms__UserName=
|
|
# Grains__Permits__Notifications__Sms__Password=
|
|
# NTP_PORT=8081
|