From 96d9efdfdf1be235fc9a2dcfd431a6eafeed362e Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 6 Dec 2021 11:23:03 +0800 Subject: [PATCH] add shlink & uptime-kuma --- shlink/README.md | 6 ++++++ shlink/docker-compose.yml | 31 +++++++++++++++++++++++++++++++ uptime-kuma/README.md | 6 ++++++ uptime-kuma/docker-compose.yml | 9 +++++++++ 4 files changed, 52 insertions(+) create mode 100644 shlink/README.md create mode 100644 shlink/docker-compose.yml create mode 100644 uptime-kuma/README.md create mode 100644 uptime-kuma/docker-compose.yml diff --git a/shlink/README.md b/shlink/README.md new file mode 100644 index 0000000..0eb6ed1 --- /dev/null +++ b/shlink/README.md @@ -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. diff --git a/shlink/docker-compose.yml b/shlink/docker-compose.yml new file mode 100644 index 0000000..e5cdc94 --- /dev/null +++ b/shlink/docker-compose.yml @@ -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 diff --git a/uptime-kuma/README.md b/uptime-kuma/README.md new file mode 100644 index 0000000..cadf60a --- /dev/null +++ b/uptime-kuma/README.md @@ -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 diff --git a/uptime-kuma/docker-compose.yml b/uptime-kuma/docker-compose.yml new file mode 100644 index 0000000..fcb49df --- /dev/null +++ b/uptime-kuma/docker-compose.yml @@ -0,0 +1,9 @@ +version: "3.8" +services: + uptime-kuma: + image: louislam/uptime-kuma + ports: + - "3001:3001" + volumes: + - ./data:/app/data + restart: unless-stopped