From cfe48bd0636ca578af27faf2ded6576c0720ca3e Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Thu, 14 Nov 2024 16:02:22 +0000 Subject: [PATCH] Add gotify --- gotify/Caddyfile | 4 ++++ gotify/docker-compose.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 gotify/Caddyfile create mode 100644 gotify/docker-compose.yml diff --git a/gotify/Caddyfile b/gotify/Caddyfile new file mode 100644 index 0000000..e3bfada --- /dev/null +++ b/gotify/Caddyfile @@ -0,0 +1,4 @@ +gotify.codehal.de { + reverse_proxy * gotify:80 { + } +} diff --git a/gotify/docker-compose.yml b/gotify/docker-compose.yml new file mode 100644 index 0000000..7a42820 --- /dev/null +++ b/gotify/docker-compose.yml @@ -0,0 +1,30 @@ +version: "3" + +networks: + proxynet: + +services: + gotify: + container_name: gotify + restart: unless-stopped + image: gotify/server + ports: + - 8080:80 + environment: + - GOTIFY_DEFAULTUSER_PASS=custom + - TZ=Europe/Berlin + volumes: + - "./gotify_data:/app/data" + networks: + - proxynet + + caddy: + container_name: caddy + restart: unless-stopped + image: caddy + ports: + - 443:443 + volumes: + - ./Caddyfile:/etc/caddy/Caddyfile:ro + networks: + - proxynet