mirror of
git://f0xx.org/android_cast
synced 2026-07-29 04:57:40 +03:00
wg start
This commit is contained in:
@@ -79,3 +79,19 @@ Direct debug ports: crashes `:8082`, builder `:8083`.
|
||||
- Mount builder PHP with Docker socket (build host only).
|
||||
- FE nginx: read-only OTA under `/v0/ota/`; BE RWX on artifact mount.
|
||||
- Keep `session_cookie_path` identical across all PHP apps behind the hub.
|
||||
|
||||
### Alpine BE (`config.php` paths)
|
||||
|
||||
| Key | Example on artc0 |
|
||||
|-----|------------------|
|
||||
| `build.repo_root` | `/var/www/.../androidcast_project/android_cast` (git tree) |
|
||||
| `build.artifacts_root` | `/var/www/.../androidcast_project/out/builds` — **must exist**, writable by PHP-FPM (`nginx`) |
|
||||
| `build.runner_script` | full path to `scripts/docker-build-runner.sh` (no `...` placeholders) |
|
||||
|
||||
```sh
|
||||
mkdir -p .../out/builds .../ota-artifacts
|
||||
chown -R nginx:nginx .../out
|
||||
chmod -R 775 .../out
|
||||
```
|
||||
|
||||
If **Start build** shows *Network error*, check BE `php-fpm81` log: often `mkdir(): Permission denied` on `out/builds` (HTTP 500, not a browser network fault).
|
||||
|
||||
Reference in New Issue
Block a user