feat: add a start docker script (#426)

Adds a start docker script so that we have required values like OSS_JWT_SECRET at runtime
This commit is contained in:
Abhishek 2026-06-11 11:51:30 +05:30 committed by GitHub
parent a81cccc68b
commit 97d7103480
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 258 additions and 20 deletions

View file

@ -74,12 +74,23 @@ Dograh images are available from two registries:
- **GitHub Container Registry (Default)**: `ghcr.io/dograh-hq` - Recommended for most users
- **Docker Hub**: `dograhai` - Alternative registry
To use a specific registry, set the `REGISTRY` environment variable:
To use a specific registry, set the `REGISTRY` environment variable when running the startup script:
<CodeGroup>
```bash
# Using GitHub Container Registry (recommended)
REGISTRY=ghcr.io/dograh-hq docker compose up --pull always
REGISTRY=ghcr.io/dograh-hq ./start_docker.sh
# Using Docker Hub
REGISTRY=dograhai docker compose up --pull always
REGISTRY=dograhai ./start_docker.sh
```
```powershell Windows
# Using GitHub Container Registry (recommended)
$env:REGISTRY = 'ghcr.io/dograh-hq'
.\start_docker.ps1
# Using Docker Hub
$env:REGISTRY = 'dograhai'
.\start_docker.ps1
```
</CodeGroup>