mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
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:
parent
a81cccc68b
commit
97d7103480
7 changed files with 258 additions and 20 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue