mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-11 11:19:09 +00:00
Add Docker deployment and improved documentation.
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/aea157e5-907c-4910-b5b7-c0994e1daea0.jpg
This commit is contained in:
@@ -150,6 +150,7 @@ The application follows a modern web architecture with clear separation of conce
|
||||
```bash
|
||||
# Make sure to set appropriate values in your .env file
|
||||
# For production deployments, ensure secure values for SESSION_SECRET and other security settings
|
||||
# Don't forget to set BASE_URL to your server's public URL
|
||||
```
|
||||
|
||||
4. Start the application stack:
|
||||
@@ -162,6 +163,26 @@ The application follows a modern web architecture with clear separation of conce
|
||||
- API: https://your-server-domain/api
|
||||
- Swagger Documentation: https://your-server-domain/api/docs
|
||||
|
||||
#### Using Docker Hub Image
|
||||
|
||||
The application is also available as a pre-built Docker image:
|
||||
|
||||
1. Pull the image from Docker Hub:
|
||||
```bash
|
||||
docker pull yourusername/ad-management-platform:latest
|
||||
```
|
||||
|
||||
2. Create a .env file with your configuration.
|
||||
|
||||
3. Run the container with your environment variables:
|
||||
```bash
|
||||
docker run -d \
|
||||
--name ad-management \
|
||||
-p 5000:5000 \
|
||||
--env-file .env \
|
||||
yourusername/ad-management-platform:latest
|
||||
```
|
||||
|
||||
#### Manual Deployment
|
||||
|
||||
For manual deployment instructions, refer to the [Deployment Guide](DEPLOYMENT.md).
|
||||
@@ -198,6 +219,7 @@ Configuration is managed through environment variables. See [.env.example](.env.
|
||||
|
||||
- **Database**: PostgreSQL connection settings
|
||||
- **Redis**: Caching configuration
|
||||
- **Application**: Base URL and port configuration
|
||||
- **Session**: Security settings for user sessions
|
||||
- **JWT**: Settings for API tokens
|
||||
- **LDAP**: Connection parameters for Active Directory
|
||||
|
||||
Reference in New Issue
Block a user