mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-09 02:11:57 +00:00
Add default administrator user and authentication configuration options.
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/2dd1a20c-f467-4f7c-915f-c7b9ad6f9965.jpg
This commit is contained in:
+12
@@ -25,6 +25,18 @@ WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=5000
|
||||
|
||||
# Authentication environment variables
|
||||
ENV JWT_SECRET=change-this-in-production
|
||||
ENV SESSION_SECRET=change-this-in-production
|
||||
ENV DEFAULT_ADMIN_USERNAME=admin
|
||||
ENV DEFAULT_ADMIN_PASSWORD=password
|
||||
ENV DEFAULT_ADMIN_EMAIL=
|
||||
ENV DEFAULT_ADMIN_FULLNAME="System Administrator"
|
||||
ENV DISABLE_REGISTRATION=false
|
||||
|
||||
# Database configuration
|
||||
ENV DATABASE_URL=postgres://postgres:postgres@postgres:5432/admgr
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user