Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // (optional) mailer isn't necessary but you won't be able to reset the password for example
- mailer: {
- sender: no-reply@exot.app
- transport: smtp
- transportOptions: {
- // NodeMailer transport options (see https://nodemailer.com/smtp/)
- auth: {
- user: YOUR_SMTP_USER
- pass: YOUR_SMTP_PASSWORD
- }
- host: YOUR_SMTP_HOST
- port: 587
- secure: false
- }
- }
- jwt: {
- // JWT expiration time (e.g. 30d)
- expiresIn: 90d
- // JWT secret key
- secret: YOUR_JWT_SECRET
- }
- database: {
- // Driver type (sqlite or mysql)
- type: sqlite
- // TypeORM connection options (see https://typeorm.io/#/connection-options)
- connectionOptions: {
- // SQLite filaname or MySQL database name
- database: /etc/exot/data/exot.db
- // disable or enable typeorm logging
- logging: false
- }
- }
- server: {
- // Server address <host>:<port>; Use 0.0.0.0 for any IP address.
- bind: 0.0.0.0:8080
- // (optional) URL address of the server to which the clients should connect to. Use if the server is behind a gateway.
- publicUrl: http://127.0.0.1:8080
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement