mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
fix local setup script
This commit is contained in:
parent
0800eb639e
commit
83cc486eda
9 changed files with 46 additions and 48 deletions
|
|
@ -177,7 +177,7 @@ The setup script creates the following files in the `dograh/` directory:
|
|||
| `docker-compose.override.yaml` | Build directives for `api` and `ui` (**build mode only**) |
|
||||
| `remote_up.sh` | Validated startup wrapper for the remote stack |
|
||||
| `scripts/run_dograh_init.sh` | One-shot init renderer/validator used by Docker Compose |
|
||||
| `scripts/lib/remote_common.sh` | Shared deployment helper library |
|
||||
| `scripts/lib/setup_common.sh` | Shared deployment helper library |
|
||||
| `deploy/templates/` | nginx and coturn runtime config templates |
|
||||
| `generate_certificate.sh` | Script to regenerate SSL certificates |
|
||||
| `certs/local.crt` | Self-signed SSL certificate |
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ After the script finishes, apply the update through the validated startup wrappe
|
|||
```
|
||||
|
||||
<Note>
|
||||
The script overwrites `docker-compose.yaml` and the remote helper bundle (`remote_up.sh`, `scripts/run_dograh_init.sh`, `scripts/lib/remote_common.sh`, and `deploy/templates/*`) from the shared upstream deployment bundle. If you've made local edits to any of these, check the `.bak.<timestamp>` files after the update and re-apply your edits.
|
||||
The script overwrites `docker-compose.yaml` and the remote helper bundle (`remote_up.sh`, `scripts/run_dograh_init.sh`, `scripts/lib/setup_common.sh`, and `deploy/templates/*`) from the shared upstream deployment bundle. If you've made local edits to any of these, check the `.bak.<timestamp>` files after the update and re-apply your edits.
|
||||
</Note>
|
||||
|
||||
## Local deployment
|
||||
|
|
@ -99,7 +99,7 @@ curl http://localhost:8000/api/v1/health # local
|
|||
|
||||
```bash
|
||||
cd dograh
|
||||
for f in docker-compose.yaml nginx.conf turnserver.conf .env remote_up.sh scripts/run_dograh_init.sh scripts/lib/remote_common.sh deploy/templates/nginx.remote.conf.template deploy/templates/turnserver.remote.conf.template; do
|
||||
for f in docker-compose.yaml nginx.conf turnserver.conf .env remote_up.sh scripts/run_dograh_init.sh scripts/lib/setup_common.sh deploy/templates/nginx.remote.conf.template deploy/templates/turnserver.remote.conf.template; do
|
||||
[[ -f "$f.bak.<timestamp>" ]] && cp "$f.bak.<timestamp>" "$f"
|
||||
done
|
||||
./remote_up.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue