Move manual deploy commands into optional section in setup guide
- Reclassify SQL migration, certbot, dialer, and release-update commands as extra/manual operations - Keep the main install path focused on classic up.sh workflow without optional maintenance steps
This commit is contained in:
@@ -45,12 +45,6 @@ nano .env
|
||||
|
||||
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`.
|
||||
|
||||
Registry login before pull / `up.sh`:
|
||||
|
||||
```bash
|
||||
echo '<token>' | docker login gitea.dialer.work -u <gitea-user> --password-stdin
|
||||
```
|
||||
|
||||
Start:
|
||||
|
||||
```bash
|
||||
@@ -60,7 +54,11 @@ sudo ./up.sh
|
||||
|
||||
Single service: `sudo ./up.sh mysql` / `cms` / `asterisk`
|
||||
|
||||
## 3) SQL migrations (fresh database)
|
||||
## Extra / Manual operations (optional)
|
||||
|
||||
Use these only when you need manual control (classic install via `sudo ./up.sh` already handles normal startup flow).
|
||||
|
||||
### SQL migrations (fresh database)
|
||||
|
||||
```bash
|
||||
cd /home/www/callcenter/deploy
|
||||
@@ -70,21 +68,21 @@ sudo RUBIX_MYSQL_VIA_DOCKER=1 MYSQL_DOCKER_CONTAINER=rubix-mysql \
|
||||
|
||||
Use your `RUBIX_MYSQL_CONTAINER` from `.env`. Existing server: restore MySQL datadir under `RUBIX_MYSQL_DATA` instead.
|
||||
|
||||
## 4) CMS HTTPS (when DNS is ready)
|
||||
### CMS HTTPS (when DNS is ready)
|
||||
|
||||
```bash
|
||||
cd /home/www/callcenter/deploy/docker
|
||||
docker-cms-certbot
|
||||
```
|
||||
|
||||
## 5) Dialer
|
||||
### Dialer
|
||||
|
||||
```bash
|
||||
docker-asterisk
|
||||
/etc/init.d/callcenter2 restart
|
||||
```
|
||||
|
||||
## Updates (app already installed)
|
||||
### Updates (app already installed)
|
||||
|
||||
```bash
|
||||
cd /home/www/callcenter/deploy
|
||||
|
||||
Reference in New Issue
Block a user