Website/README.md

60 lines
1.3 KiB
Markdown

# rastus01.com
Statische persoenliche Landingpage fuer `rastus01.com`.
Die Seite dient aktuell als einfache Selfhosting-Startseite und stellt die
Matrix-Discovery-Dateien unter `.well-known/matrix/` bereit.
## Inhalt
- Dunkle, responsive Landingpage ohne externe Frameworks
- Klassische statische Dateien: `index.html`, `style.css`, `script.js`
- Matrix Homeserver Discovery:
- `/.well-known/matrix/server`
- `/.well-known/matrix/client`
- Dockerfile fuer eine einfache Nginx-Auslieferung
## Matrix
`/.well-known/matrix/server`
```json
{"m.server":"matrix.rastus01.com:443"}
```
`/.well-known/matrix/client`
```json
{"m.homeserver":{"base_url":"https://matrix.rastus01.com"}}
```
Wichtig: Diese Dateien haben absichtlich keine `.json`-Dateiendung.
## Lokal mit Docker
Image bauen:
```sh
docker build -t rastus01-static-site .
```
Container starten:
```sh
docker run --rm -p 8080:80 rastus01-static-site
```
Danach ist die Seite unter `http://localhost:8080` erreichbar.
## Coolify
Das Repository kann in Coolify als Dockerfile-basierter Service deployed
werden.
- Build-Methode: Dockerfile
- Exposed Port: `80`
- Kein Build-Command noetig
- Kein Start-Command noetig
Die `nginx.conf` setzt fuer die Matrix `.well-known`-Dateien den Content-Type
`application/json` und CORS-Header.