From 7d593bcf0fe0c73ec7eaf1c7a0a9b440bf9ad9c3 Mon Sep 17 00:00:00 2001 From: dado Date: Sat, 31 May 2025 18:05:26 +0200 Subject: [PATCH] readeck --- caddy/Caddyfile | 12 ++++++++++++ readeck/docker-compose.yml | 24 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 readeck/docker-compose.yml diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 115580b..ad8966b 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -145,6 +145,18 @@ https://search.novemila.org { reverse_proxy localhost:3017 } +# IMMICH + +https://photo.novemila.org { + reverse_proxy localhost:3018 +} + +# READECK + +https://readeck.novemila.org { + reverse_proxy localhost:3019 +} + # MOLLY https://molly.novemila.org { diff --git a/readeck/docker-compose.yml b/readeck/docker-compose.yml new file mode 100644 index 0000000..05ce188 --- /dev/null +++ b/readeck/docker-compose.yml @@ -0,0 +1,24 @@ +volumes: + readeck-data: + +services: + app: + image: codeberg.org/readeck/readeck:latest + container_name: readeck + mem_limit: 512m + cpus: 0.2 # al max 20% cpu + ports: + - 127.0.0.1:3019:8000 + environment: + # Defines the application log level. Can be error, warn, info, debug. + - READECK_LOG_LEVEL=info + # Optional, a list of hostnames allowed in HTTP requests. + - READECK_ALLOWED_HOSTS=readeck.novemila.org + volumes: + - readeck-data:/readeck + restart: unless-stopped + healthcheck: + test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"] + interval: 30s + timeout: 2s + retries: 3 \ No newline at end of file