Use BusyBox httpd Dockerfile; document registry-based Coolify deploy
This commit is contained in:
1 parent
92a56e9db6
commit
01cd89b9dd
4 files changed
+25
-27
No files matched your search
@@ -14,17 +14,22 @@ A static, bilingual (EN/AR), Apple-inspired marketing website for Ordenax — th
|
||||
| `styles.css` | Shared stylesheet, animations, responsive layout |
|
||||
| `app.js` | Bilingual i18n, RTL switching, scroll animations, mobile nav, form validation |
|
||||
|
||||
## Deploy to Coolify
|
||||
## Deploy to Coolify (current setup)
|
||||
|
||||
1. Push this repository to your Git provider.
|
||||
2. In Coolify, create a **Static Site** resource.
|
||||
3. Select this repository and the branch you want to deploy.
|
||||
4. Set the **Base Directory** to `/` (root).
|
||||
5. Leave **Build Command** empty.
|
||||
6. Set **Publish Directory** to `/` (root).
|
||||
7. Deploy.
|
||||
Deployment runs on Coolify as a **Docker image** resource built from this repository:
|
||||
|
||||
No build step is required. The site is pure HTML, CSS, and JavaScript.
|
||||
1. Build and push the image to the Gitea container registry:
|
||||
```bash
|
||||
docker login git.x0trader.com -u Aiman # token as password
|
||||
docker build -t git.x0trader.com/aiman/ordenax-landing:latest .
|
||||
docker push git.x0trader.com/aiman/ordenax-landing:latest
|
||||
```
|
||||
2. Coolify app `ordenax-landing` pulls `git.x0trader.com/aiman/ordenax-landing:latest` and serves it on port 80.
|
||||
3. Live URL (auto-generated domain): `http://gcsqmj3tajthnnqud65adoep.187.127.225.190.sslip.io`
|
||||
|
||||
To update the site: commit changes, rebuild + push the image, then redeploy the app in Coolify.
|
||||
|
||||
> Note: the container uses BusyBox `httpd` (pure static serving, no build step). The site is pure HTML, CSS, and JavaScript.
|
||||
|
||||
## Local preview
|
||||
|
||||
|
||||
Reference in new issue
Block a user