67 lines
No EOL
1.7 KiB
Markdown
67 lines
No EOL
1.7 KiB
Markdown
# Wavelog Deployment
|
|
|
|
Wavelog is an open source amateur radio logging application deployed on k3s cluster at 204.110.191.2.
|
|
|
|
## Architecture
|
|
|
|
- **Application**: Wavelog PHP application
|
|
- **Database**: MariaDB 11 (10GB storage)
|
|
- **Storage**: 20GB for config, backups, uploads, and QSL cards
|
|
- **Ingress**: Traefik with cert-manager for SSL (Let's Encrypt)
|
|
- **Access**: https://log.w5isp.com
|
|
|
|
## Deployment
|
|
|
|
```bash
|
|
# Deploy everything
|
|
./deploy.sh
|
|
|
|
# Check status
|
|
kubectl get pods -n wavelog
|
|
kubectl get certificate -n wavelog
|
|
kubectl get ingressroute -n wavelog
|
|
```
|
|
|
|
## Initial Setup
|
|
|
|
1. Visit https://log.w5isp.com/install
|
|
2. Database configuration:
|
|
- **Host**: mariadb
|
|
- **Database**: wavelog
|
|
- **Username**: wavelog
|
|
- **Password**: B58R2Ivh9jkVgdMBcRFbDSpYc
|
|
|
|
3. Complete the installation wizard
|
|
|
|
4. Default admin login (change immediately):
|
|
- **Username**: m0abc
|
|
- **Password**: demo
|
|
|
|
## Files
|
|
|
|
- `namespace.yaml` - Wavelog namespace
|
|
- `mariadb-secret.yaml` - Database credentials
|
|
- `mariadb-deployment.yaml` - MariaDB StatefulSet
|
|
- `wavelog-pvc.yaml` - Persistent storage for Wavelog data
|
|
- `wavelog-deployment.yaml` - Wavelog application deployment
|
|
- `wavelog-ingressroute.yaml` - Traefik ingress with SSL
|
|
- `deploy.sh` - Deployment script
|
|
|
|
## Configuration
|
|
|
|
- **PHP Settings**:
|
|
- Upload max: 50MB
|
|
- Post max: 50MB
|
|
- Memory limit: 256MB
|
|
- Execution time: 300s
|
|
|
|
## Backup
|
|
|
|
Wavelog stores backups in `/var/www/html/application/backup` which is persisted on the PVC.
|
|
|
|
## Security
|
|
|
|
- All passwords have been generated securely
|
|
- Database is only accessible within the cluster
|
|
- SSL/TLS encryption via Let's Encrypt
|
|
- Do not commit secret files to version control |