add shlink & uptime-kuma

This commit is contained in:
kev 2021-12-06 11:23:03 +08:00
parent c3c53db744
commit 96d9efdfdf
4 changed files with 52 additions and 0 deletions

6
shlink/README.md Normal file
View File

@ -0,0 +1,6 @@
shlink
======
[shlink][1] is the definitive self-hosted URL shortener.
Keep control over all your shortened URLs, by serving them under your own
domains, using this simple yet powerful tool.

31
shlink/docker-compose.yml Normal file
View File

@ -0,0 +1,31 @@
version: "3.8"
services:
shlink:
image: shlinkio/shlink:stable
ports:
- "8080:8080"
environment:
- DEFAULT_DOMAIN=shlink.easypi.duckdns.org
- USE_HTTPS=true
- GEOLITE_LICENSE_KEY=kjh23ljkbndskj345
- DB_DRIVER=postgres
- DB_HOST=postgres
- DB_USER=shlink
- DB_PASSWORD=shlink
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=shlink
- POSTGRES_PASSWORD=shlink
- POSTGRES_DB=shlink
restart: unless-stopped

6
uptime-kuma/README.md Normal file
View File

@ -0,0 +1,6 @@
uptime-kuma
===========
[uptime-kuma][1] is a self-hosted monitoring tool like "Uptime Robot".
[1]: https://github.com/louislam/uptime-kuma

View File

@ -0,0 +1,9 @@
version: "3.8"
services:
uptime-kuma:
image: louislam/uptime-kuma
ports:
- "3001:3001"
volumes:
- ./data:/app/data
restart: unless-stopped