29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
# Aether Docker Cheat Sheet 🚀
|
|
|
|
## 🛠️ Management Links
|
|
- **Dashboard:** [http://localhost:8888](http://localhost:8888)
|
|
- **Logs (Dozzle):** [http://localhost:8881](http://localhost:8881)
|
|
- **Database (phpMyAdmin):** [http://localhost:8081](http://localhost:8081)
|
|
- **API Docs:** [https://dev-api.oneskyit.com/docs](https://dev-api.oneskyit.com/docs)
|
|
|
|
## 💾 Database Operations
|
|
- **Manual Backup:** `./backup_db.sh` (Hot backup, live container)
|
|
- **Manual Restore:** `./restore_db.sh [path_to_file.gz]` (Automated password/grant reset)
|
|
- **Conference Export:** `./export_db.sh` (Saves to `backups/conference_export/`)
|
|
- **Automated Onsite Import:**
|
|
1. Drop a backup into `backups/import/`.
|
|
2. Run `./check_and_import.sh`.
|
|
3. The file will be restored and moved to `backups/imported/`.
|
|
|
|
## ⏰ Scheduling
|
|
To backup every hour at 55 minutes past:
|
|
`55 * * * * /home/scott/OSIT_dev/aether_container_env/backup_db.sh`
|
|
|
|
## 📈 Scaling the API
|
|
1. Edit `.env` -> `AE_API_REPLICAS=X`
|
|
2. Run `docker compose up -d`
|
|
|
|
## 🧹 Maintenance
|
|
- **Internal Logs:** Docker handles rotation automatically (10MB limit).
|
|
- **External Proxy:** Point your home server to `[Workstation_IP]:5060`.
|