Standardize Tukutoi deployment layout
This commit is contained in:
commit
e3c55c12b8
6 files changed
+117
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Tukutoi Validate
|
||||
|
||||
Tukutoi Validate runs the PHP/Apache validation website at https://billing.tukutoi.com with GnuPG support.
|
||||
|
||||
## Deployment layout
|
||||
|
||||
- **Compose:** `/srv/docker/tukutoi-validate/docker-compose.yml`
|
||||
- **Static configuration/source:** `/srv/docker/tukutoi-validate/Dockerfile` and `/srv/docker/tukutoi-validate/apache.conf`; a separate application source repository has not yet been established
|
||||
- **Non-secret environment:** `GNUPGHOME=/var/www/.gnupg`, declared inline in Compose
|
||||
- **Secrets:** `/srv/docker/secrets/tukutoi-validate/gnupg`, mounted at `/var/www/.gnupg`
|
||||
- **NVMe application state:** `/srv/appdata/tukutoi-validate/html` for deployed application files and `/srv/appdata/tukutoi-validate/tmp` for temporary processing
|
||||
- **Bulk HDD data:** none required by the migrated deployment
|
||||
- **Other mounts:** none
|
||||
|
||||
Secrets are never committed to this deployment repository. Preserve the GnuPG home with numeric ownership `33:33` and directory mode `0700`. Temporary processing retains ownership `33:33` and directory mode `0770`.
|
||||
|
||||
The temporary directory is mounted at `/var/www/html/tmp`. Apache denies direct HTTP access; PHP serves authorized downloads through `download.php`, then deletes the downloaded file and its companion GPG file. Cleanup of abandoned files remains unverified.
|
||||
|
||||
## Dependencies and recovery
|
||||
|
||||
- **Networks/dependencies:** external `npm_proxy`, fixed address `192.168.99.15`, existing reverse proxy and DNS for billing.tukutoi.com, and the locally built `tukutoi-validate-tukutoi` image
|
||||
- **Back up:** deployed application files, the complete GnuPG home, and deployment configuration; no separate application source repository is currently established
|
||||
- **Re-creatable:** the PHP/Apache/GnuPG image from the Dockerfile, subject to upstream dependency availability; temporary files are transient but may belong to in-progress processing or downloads
|
||||
Reference in new issue
Block a user