first commit

This commit is contained in:
Fabian Gasper
2026-07-12 18:32:01 +02:00
commit 7079f383d4
11 changed files with 528 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
# homedeploy
Homedeploy is a small webservice written in go.
It's intended to just serve static sites, sutch as generated by goHugo.
## Features
### Serve static files
The main usecase is serving static files.
Just drop your files into the defined folder and start the service.
### Serve WDK Keys for openPGP
The second option is to serve WDK Keys fro openPGP. The domain path is already hardcoded, so you just have to add your hash keys.
## Deploy the service
The intended way to reploy the service is with docker compose.
### compose.yml
```bash
services:
homepage:
container_name: homepage
image: git.lojr.de/ilvoen/heimdeploy:latest
ports:
- ports 80:80
env_file: .env
volumes:
- ./content:/app/content
- ./keys:/app/keys:ro
restart: unless-stopped
```
### .env
```bash
CONTENT_DIR=/app/content
KEYS_DIR=/app/keys
PORT=80
ENABLE_WEBHOOK=false
REPO_URL=
REPO_TOKEN=<dein-token>
WEBHOOK_SECRET=<dein-secret>
```