change sequence of steps in readmi

This commit is contained in:
Viktor Scharf
2025-09-04 12:38:17 +02:00
parent 487b73f0b3
commit 1c1ccef59c
2 changed files with 8 additions and 5 deletions

View File

@@ -40,7 +40,10 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
> **Note**: The repository includes `.env.example` as a template with default settings and documentation. Your actual `.env` file is excluded from version control (via `.gitignore`) to prevent accidentally committing sensitive information like passwords and domain-specific settings. > **Note**: The repository includes `.env.example` as a template with default settings and documentation. Your actual `.env` file is excluded from version control (via `.gitignore`) to prevent accidentally committing sensitive information like passwords and domain-specific settings.
3. **Configure deployment options**: 3. **Set admin password**:
set `INITIAL_ADMIN_PASSWORD=your_secure_password` environment variable in your `.env` file
4. **Configure deployment options**:
You can deploy using explicit `-f` flags: You can deploy using explicit `-f` flags:
```bash ```bash
@@ -57,17 +60,17 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
docker compose up -d docker compose up -d
``` ```
4. **Add local domains to `/etc/hosts`**: 5. **Add local domains to `/etc/hosts`**:
``` ```
127.0.0.1 cloud.opencloud.test 127.0.0.1 cloud.opencloud.test
127.0.0.1 traefik.opencloud.test 127.0.0.1 traefik.opencloud.test
127.0.0.1 keycloak.opencloud.test 127.0.0.1 keycloak.opencloud.test
``` ```
5. **Access OpenCloud**: 6. **Access OpenCloud**:
- URL: https://cloud.opencloud.test - URL: https://cloud.opencloud.test
- Username: `admin` - Username: `admin`
- Password: `admin` (by default). Set via `INITIAL_ADMIN_PASSWORD` environment variable in your `.env` file - Password: value of your `INITIAL_ADMIN_PASSWORD`
### Production Deployment ### Production Deployment

View File

@@ -28,7 +28,7 @@ services:
# demo users # demo users
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}" IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
# admin password # admin password
IDM_ADMIN_PASSWORD: "${INITIAL_ADMIN_PASSWORD:-admin}" IDM_ADMIN_PASSWORD: "${INITIAL_ADMIN_PASSWORD}"
# email server (if configured) # email server (if configured)
NOTIFICATIONS_SMTP_HOST: "${SMTP_HOST}" NOTIFICATIONS_SMTP_HOST: "${SMTP_HOST}"
NOTIFICATIONS_SMTP_PORT: "${SMTP_PORT}" NOTIFICATIONS_SMTP_PORT: "${SMTP_PORT}"