Reset Your Password
+We received a request to reset your password. Click the button below to choose a new one:
+ +If you didn’t request this reset, you can safely ignore this email.
+Cheers,
The Aviation Data Team
diff --git a/.env b/.env index c5f587b..d376f05 100644 --- a/.env +++ b/.env @@ -2,11 +2,11 @@ RUST_LOG=warn,api=info NGINX_HOST=localhost NGINX_SSL_ENABLED=false -NGINX_PROTOCOL=http NGINX_HTTP_PORT=8080 NGINX_HTTPS_PORT=8443 # Set to 'localhost' or 'host.docker.internal' or '172.17.0.1' NGINX_INTERNAL_HOST=host.docker.internal +EXTERNAL_URL=http://localhost:8080 POSTGRES_HOST=localhost POSTGRES_USER=aviation @@ -24,7 +24,7 @@ MINIO_BUCKET=aviation MINIO_PROTOCOL=http MINIO_PORT=9000 MINIO_INTERNAL_PORT=9001 -MINIO_BROWSER_REDIRECT_URL=${NGINX_PROTOCOL}://${NGINX_HOST}:${NGINX_HTTP_PORT}/minio/ +MINIO_BROWSER_REDIRECT_URL=${EXTERNAL_URL}/minio/ UI_PORT=3000 API_PORT=5000 @@ -35,11 +35,19 @@ SSL_CA_PATH=../ssl/${SSL_CA_NAME}.pem SSL_CERT_PATH=../ssl/localhost.crt SSL_CERT_KEY_PATH=../ssl/localhost.key -VITE_API_URL=${NGINX_PROTOCOL}://${NGINX_HOST}:${NGINX_HTTP_PORT}/api +SMTP_USERNAME=smtp-user +SMTP_PASSWORD=smtp-password +SMTP_FROM=noreply@example.com +SMTP_SERVER=smtp.example.com + +VITE_API_URL=${EXTERNAL_URL}/api VITE_DEFAULT_LIMIT=200 __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=${NGINX_HOST} ENVIRONMENT=development +API_CONTACT_NAME=changeme +API_CONTACT_EMAIL=contact@example.com + ADMIN_EMAIL=admin@example.com ADMIN_PASSWORD=changeme diff --git a/README.md b/README.md index 997d375..b5edea9 100755 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@
Your source for aviation data
+We received a request to reset your password. Click the button below to choose a new one:
+ +If you didn’t request this reset, you can safely ignore this email.
+Cheers,
The Aviation Data Team