enhanced README

This commit is contained in:
2026-02-01 18:28:44 +01:00
parent 7711eaf56f
commit 96e2efa622

View File

@@ -3,3 +3,23 @@
Mit diesem Server möchte ich ein selbst gehostetes Pendant zu _github pages_ erstellen. Mit diesem Server möchte ich ein selbst gehostetes Pendant zu _github pages_ erstellen.
Das Ziel ist einen Webserver zu haben auf den ich einfach content deployen kann direkt aus einem gitea repository. Das Ziel ist einen Webserver zu haben auf den ich einfach content deployen kann direkt aus einem gitea repository.
## Setup
I assume that you have a server where docker is installed with a running instance of traefik.
* Create a new directory, e.g.: `/containers/pages`
* Place the docker compose file into this directory
* Change the docker-compose.yml file to your needs and environment.
* get the needed container image: `docker compose pull`.
* spin the container up: `docker compose up -d`
Check the logs, if everything runs smoothly:
```
docker compose logs -f
```
If you want to stop the container again, use:
```
docker compose down
```