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