40 lines
962 B
Markdown
40 lines
962 B
Markdown
# 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>
|
|
``` |