diff --git a/README.md b/README.md index 37d8f51..e32686e 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Not every stack is tested to fully work. | Folding@Home | ✅ | `johnktims/folding-at-home` | Protein folding distributed computing platform. | [Website](https://foldingathome.org), [My guide](https://skobk.in/2020/06/folding-at-home-quick-start/) | | Gatus | ✅ | `twinproduction/gatus` | Advanced service(s) status page. | [Website](https://gatus.io), [Github](https://github.com/TwiN/gatus) | | Gitea | ✅ | `gitea/gitea` | Lightweight Git hosting platfom. | [Website](https://gitea.io/), [Github](https://github.com/go-gitea/gitea) | +| Homer | ✅ | `b4bz/homer` | Server homepage generator. | [Github](https://github.com/bastienwirtz/homer), [Demo](https://homer-demo.netlify.app) | | I2PD | ✅ | `purplei2p/i2pd` | The Invisible Internet router. | [Website](https://i2pd.website), [Github](https://github.com/PurpleI2P/i2pd/), [I2P project](https://geti2p.net/) | | ~~JDownloader~~ | ✅ Abandoned | `jaymoulin/jdownloader` | Download manager with paid/ad file hosting support. | [Website](https://jdownloader.org) | | ~~Joplin~~ | ✅ Abandoned | `joplin/server` | Markdown GTD / notes manager synchronization server. | [Website](https://joplinapp.org), [Github](https://github.com/laurent22/joplin) | diff --git a/homer/.env.dist b/homer/.env.dist new file mode 100644 index 0000000..3d04c31 --- /dev/null +++ b/homer/.env.dist @@ -0,0 +1,10 @@ +# see https://github.com/bastienwirtz/homer#using-docker-compose +HOST_USER=1000 + +HOST_DATA_DIR=./data + +WEBUI_BIND_ADDR=127.0.0.1 +WEBUI_BIND_PORT=8084 + +LOG_MAX_SIZE=5m +LOG_MAX_FILE=5 diff --git a/homer/data/.gitignore b/homer/data/.gitignore new file mode 100644 index 0000000..a68d087 --- /dev/null +++ b/homer/data/.gitignore @@ -0,0 +1,2 @@ +/* +!/.gitignore diff --git a/homer/docker-compose.yml b/homer/docker-compose.yml new file mode 100644 index 0000000..18358df --- /dev/null +++ b/homer/docker-compose.yml @@ -0,0 +1,21 @@ +# https://hub.docker.com/r/b4bz/homer +version: '3.7' + +services: + homer: + image: b4bz/homer + container_name: homer + volumes: + - "${HOST_DATA_DIR:-./data}:/www/assets" + ports: + - "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8084}:8080/tcp" + environment: + - "UID=${HOST_USER:-1000}" + - "GID=${HOST_USER:-1000}" + env_file: .env + restart: unless-stopped + logging: + driver: "json-file" + options: + max-size: "${LOG_MAX_SIZE:-5m}" + max-file: "${LOG_MAX_FILE:-5}" diff --git a/homer/nginx/homer.conf b/homer/nginx/homer.conf new file mode 100644 index 0000000..ffabde7 --- /dev/null +++ b/homer/nginx/homer.conf @@ -0,0 +1,18 @@ +server { + listen 80; + server_name home.domain.tld; + + #charset utf-8; + + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + + proxy_read_timeout 600s; + proxy_send_timeout 600s; + + proxy_pass http://127.0.0.1:8084/; + } +}