Install Docker in step 1; document registry login in step 2
- install-rubix.sh: apt install docker.io and compose plugin, enable daemon - README: step 1 lists Docker install; step 2 keeps docker login before up.sh
This commit is contained in:
@@ -26,9 +26,9 @@ sudo ./install-rubix.sh
|
||||
|
||||
The script will:
|
||||
|
||||
1. Ask for your **Gitea token** (if `GITEA_TOKEN` is not already exported)
|
||||
2. Create **`/home/www/callcenter`**
|
||||
3. Download and unpack the latest **rubix** release there
|
||||
1. `apt update` / `upgrade`, install tools, **Docker** + compose plugin
|
||||
2. Ask for your **Gitea token** (if `GITEA_TOKEN` is not already exported)
|
||||
3. Create **`/home/www/callcenter`** and download the latest **rubix** release
|
||||
|
||||
Optional: specific version `sudo ./install-rubix.sh v1.1.10`
|
||||
Optional: other path `sudo RUBIX_INSTALL_PATH=/opt/rubix ./install-rubix.sh`
|
||||
@@ -41,14 +41,12 @@ cp .env.example .env
|
||||
nano .env
|
||||
```
|
||||
|
||||
Set at least: `GITEA_REGISTRY_PULL_TOKEN` (same token as step 1), `MYSQL_ROOT_PASSWORD`, DB users/passwords, `COMPOSE_PROFILES`, domains, `RUBIX_STORAGE_ROOT`.
|
||||
Set at least: `GITEA_REGISTRY_PULL_TOKEN` (same token as step 1), `GITEA_REGISTRY_PULL_USER`, `MYSQL_ROOT_PASSWORD`, DB users/passwords, `COMPOSE_PROFILES`, domains, `RUBIX_STORAGE_ROOT`.
|
||||
|
||||
Install Docker if not present:
|
||||
Registry login before pull / `up.sh`:
|
||||
|
||||
```bash
|
||||
apt-get install -y docker.io docker-compose-plugin
|
||||
systemctl enable --now docker
|
||||
echo '<token>' | docker login gitea.dialer.work -u <user> --password-stdin
|
||||
echo '<token>' | docker login gitea.dialer.work -u <gitea-user> --password-stdin
|
||||
```
|
||||
|
||||
Start:
|
||||
|
||||
Reference in New Issue
Block a user