From e23530b3f352cfc5e6bb1da7d96532ab1fe38d00 Mon Sep 17 00:00:00 2001 From: boo3 Date: Thu, 28 Nov 2024 01:14:06 +0100 Subject: [PATCH] init --- anisette.yml | 18 ++++++++++++++++++ redlib.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ watchtower.yml | 7 +++++++ 3 files changed, 69 insertions(+) create mode 100644 anisette.yml create mode 100644 redlib.yml create mode 100644 watchtower.yml diff --git a/anisette.yml b/anisette.yml new file mode 100644 index 0000000..ab7b832 --- /dev/null +++ b/anisette.yml @@ -0,0 +1,18 @@ +version: '3' +services: + anisette-v3: + image: dadoum/anisette-v3-server + container_name: anisette-v3 + restart: always + ports: + - "6969:6969" + volumes: + - anisette-v3-data:/home/Alcoholic/.config/anisette-v3/lib/ + +volumes: + anisette-v3-data: + driver: local + driver_opts: + type: "nfs" + o: "addr=192.168.178.200,rw" + device: ":/mnt/speedypool/apps-vm/anisette-v3-data" \ No newline at end of file diff --git a/redlib.yml b/redlib.yml new file mode 100644 index 0000000..0e7aa7d --- /dev/null +++ b/redlib.yml @@ -0,0 +1,44 @@ +services: + redlib: + image: quay.io/redlib/redlib:latest + restart: always + container_name: "redlib" + ports: + - 8080:8080 # Specify `127.0.0.1:8080:8080` instead if using a reverse proxy + user: nobody + read_only: true + security_opt: + - no-new-privileges:true + # - seccomp=seccomp-redlib.json + cap_drop: + - ALL + networks: + - redlib + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"] + interval: 5m + timeout: 3s + environment: + - REDLIB_SFW_ONLY="${REDLIB_SFW_ONLY}" + - REDLIB_ROBOTS_DISABLE_INDEXING="${REDLIB_ROBOTS_DISABLE_INDEXING}" + - REDLIB_DEFAULT_THEME="${REDLIB_DEFAULT_THEME}" + - REDLIB_DEFAULT_FRONT_PAGE="${REDLIB_DEFAULT_FRONT_PAGE}" + - REDLIB_DEFAULT_LAYOUT="${REDLIB_DEFAULT_LAYOUT}" + - REDLIB_DEFAULT_WIDE="${REDLIB_DEFAULT_WIDE}" + - REDLIB_DEFAULT_POST_SORT="${REDLIB_DEFAULT_POST_SORT}" + - REDLIB_DEFAULT_COMMENT_SORT="${REDLIB_DEFAULT_COMMENT_SORT}" + - REDLIB_DEFAULT_BLUR_SPOILER="${REDLIB_DEFAULT_BLUR_SPOILER}" + - REDLIB_DEFAULT_SHOW_NSFW="${REDLIB_DEFAULT_SHOW_NSFW}" + - REDLIB_DEFAULT_BLUR_NSFW="${REDLIB_DEFAULT_BLUR_NSFW}" + - REDLIB_DEFAULT_USE_HLS="${REDLIB_DEFAULT_USE_HLS}" + - REDLIB_DEFAULT_HIDE_HLS_NOTIFICATION="${REDLIB_DEFAULT_HIDE_HLS_NOTIFICATION}" + - REDLIB_DEFAULT_AUTOPLAY_VIDEOS="${REDLIB_DEFAULT_AUTOPLAY_VIDEOS}" + - REDLIB_DEFAULT_HIDE_AWARDS="${REDLIB_DEFAULT_HIDE_AWARDS}" + - REDLIB_DEFAULT_HIDE_SIDEBAR_AND_SUMMARY="${REDLIB_DEFAULT_HIDE_SIDEBAR_AND_SUMMARY}" + - REDLIB_DEFAULT_DISABLE_VISIT_REDDIT_CONFIRMATION="${REDLIB_DEFAULT_DISABLE_VISIT_REDDIT_CONFIRMATION}" + - REDLIB_DEFAULT_HIDE_SCORE="${REDLIB_DEFAULT_HIDE_SCORE}" + - REDLIB_DEFAULT_FIXED_NAVBAR="${REDLIB_DEFAULT_FIXED_NAVBAR}" + #- REDLIB_DEFAULT_SUBSCRIPTIONS="${REDLIB_DEFAULT_SUBSCRIPTIONS}" + +networks: + redlib: \ No newline at end of file diff --git a/watchtower.yml b/watchtower.yml new file mode 100644 index 0000000..548495b --- /dev/null +++ b/watchtower.yml @@ -0,0 +1,7 @@ +version: "3" +services: + watchtower: + image: containrrr/watchtower + restart: always + volumes: + - /var/run/docker.sock:/var/run/docker.sock