From ed3b99771311aeaf15b99c2da243f7c1b85615f8 Mon Sep 17 00:00:00 2001 From: librelol Date: Fri, 8 Nov 2024 19:38:16 -0500 Subject: [PATCH] Add redlib.yaml --- templates/compose/redlib.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/compose/redlib.yaml diff --git a/templates/compose/redlib.yaml b/templates/compose/redlib.yaml new file mode 100644 index 000000000..4460bab00 --- /dev/null +++ b/templates/compose/redlib.yaml @@ -0,0 +1,30 @@ +# documentation: https://github.com/redlib-org/redlib +# An alternative private front-end to Reddit, with its origins in Libreddit. +# tags: frontend, feed +# logo: svgs/freshrss.png +# port: 8080 + +services: + redlib: + image: 'quay.io/redlib/redlib:latest' + restart: always + container_name: redlib + environment: + - SERVICE_FQDN_REDLIB_8080 + user: nobody + read_only: true + security_opt: + - 'no-new-privileges:true' + cap_drop: + - ALL + env_file: .env + healthcheck: + test: + - CMD + - wget + - '--spider' + - '-q' + - '--tries=1' + - 'http://localhost:8080/settings' + interval: 5m + timeout: 3s \ No newline at end of file