database: host: ${MYSQL_HOST:-localhost} port: ${MYSQL_PORT:-3306} name: ${MYSQL_DATABASE:-notes} username: ${MYSQL_USER:-notes} password: ${MYSQL_PASSWORD:-notes} server: host: ${HOST:-127.0.0.1} port: ${PORT:-8081} cors: ${CORS:-false} jwt: auth: secret: ${JWT_SECRET:-uiqzRNiMYwbObn/Ps5xTasYVeu/63ZuI+1oB98Ez+lY=} # Can be generated with `openssl rand -base64 32` validity: 24 unit: HOURS refresh: secret: ${JWT_REFRESH_SECRET=-wWchkx44YGig4Q5Z7b7+E/3ymGEGd6PS7UGedMul3bg=} # Can be generated with `openssl rand -base64 32` validity: 15 unit: DAYS cookies: secure: ${SECURE_COOKIES:-false}