add toggle for allowing registrations from the frontend

This commit is contained in:
2025-08-10 13:36:07 +01:00
parent b790b3bd76
commit a53c50b8b4
4 changed files with 294 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ services:
- MONGODB_PORT=27017
- MONGODB_DATABASE=scoffer
- JWT_SECRET=${JWT_SECRET}
- ALLOW_REGISTRATION=${ALLOW_REGISTRATION:-true}
ports:
- "${BACKEND_PORT:-5000}:5000"
depends_on: