Add Coolify deployment support
publish-github-pages / deploy (push) Waiting to run

Multi-stage Dockerfile builds the email-builder, admin frontend, and Go
backend from source and stuffs assets into the binary. The runtime-only
image moved to Dockerfile.goreleaser for release builds. Adds a Coolify
compose file with magic service variables, healthchecks, and volumes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
h202-wq
2026-07-09 10:16:18 -04:00
parent 66d9a033c9
commit 9da8d50370
7 changed files with 164 additions and 10 deletions
+11
View File
@@ -72,6 +72,17 @@ max_lifetime = "300s"
command: [sh, -c, "./eaglecast --install --idempotent --yes --config /eaglecast/config.toml && ./eaglecast --upgrade --yes --config /eaglecast/config.toml && ./eaglecast --config /eaglecast/config.toml"]
```
### Coolify
The repository ships a Coolify-ready compose file, [docker-compose.coolify.yml](https://source.offmarket.win/aleagle/EagleCast/src/branch/master/docker-compose.coolify.yml).
1. In Coolify, add a new resource -> *Docker Compose* and point it at the EagleCast git repository.
2. Set *Docker Compose Location* to `/docker-compose.coolify.yml`.
3. Assign your public domain to the `eaglecast` service (port 9000). Coolify's proxy handles TLS.
4. Optionally set `EAGLECAST_ADMIN_USER` and `EAGLECAST_ADMIN_PASSWORD` in the environment variables UI before the first deploy to auto-create the Super Admin.
5. Deploy. The image is built from source (frontend + backend) by the multi-stage `Dockerfile`, and the database schema is installed/upgraded automatically on start.
6. After logging in, set the root URL in *Admin -> Settings -> General* to your public `https://` domain.
-----------
## Nightly