NTP_V2/deploy/prod/.env.example

11 lines
983 B
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=ntp;Password=zaPRFN$do36;Data Source=10.20.1.7:1521/nafithmain;Min Pool Size=5;Max Pool Size=100;Connection Timeout=15;Statement Cache Size=50
ConnectionStrings__NtpSchema=User Id=nafithtcs;Password=sLDDo83@fs;Data Source=10.20.1.7:1521/nafithmain;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=ItSCgUNhyCt1ZuYaJigPr9HDgSNR3eo/3v6eXp8OSWI+6OEW55E417QmCbpNzqb/
# origin users open in the browser, exactly as typed in the address bar
Cors__AllowedOrigins__0=https://ntpv2.nafith.net
# logins that may hold role SU (none by default in production), e.g. Auth__SuperUsers__0=login
# NTP_PORT=8081