41 lines
897 B
Markdown
41 lines
897 B
Markdown
|
|
# geo-rankly offline package
|
||
|
|
|
||
|
|
This directory is self-contained. It deploys containers, not host binaries.
|
||
|
|
|
||
|
|
On a Docker host with Docker Compose v2:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
bash deploy.sh compose
|
||
|
|
```
|
||
|
|
|
||
|
|
`compose` is the default, so this is equivalent:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
bash deploy.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
`deploy.sh compose` loads `images.tar`, creates `.env` from `.env.example` when missing, and starts the stack with:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
docker compose -f docker-compose.yaml -f docker-compose.offline.yaml --env-file .env up -d
|
||
|
|
```
|
||
|
|
|
||
|
|
On a k3s host:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
bash deploy.sh k3s
|
||
|
|
```
|
||
|
|
|
||
|
|
This imports `images.tar` into k3s containerd and applies `k3s/` with Kustomize.
|
||
|
|
|
||
|
|
Default ports are NAS-friendly:
|
||
|
|
|
||
|
|
- tenant web: `18080`
|
||
|
|
- tenant API: `18081`
|
||
|
|
- ops web: `18082`
|
||
|
|
- ops API: `18090`
|
||
|
|
- RabbitMQ management: `15673`
|
||
|
|
- MinIO console: `19001`
|
||
|
|
|
||
|
|
Edit `.env` before rerunning `bash deploy.sh` if you need real API keys, stronger secrets, or different ports.
|