Additions and changes I forget what

This commit is contained in:
Annika Merris 2026-02-22 15:56:12 +00:00
parent d08ec4f794
commit 5bdf047a11
9 changed files with 98 additions and 4 deletions

View file

@ -3,7 +3,7 @@ arr_radarr_tag: release-6.0.4.10291
arr_sonarr_tag: release-4.0.16.2944
arr_lidarr_tag: release-3.1.0.4875
arr_prowlarr_tag: release-2.3.0.5236
arr_homarr_tag: v1.50.1
arr_homarr_tag: v1.53.1
arr_doplarr_tag: v3.7.0
arr_whisparr_tag: v2-2.0.0.2130

View file

@ -23,9 +23,9 @@ code.local.cobb.lgbt {
guac.local.cobb.lgbt {
@notGuac {
not path /quacamole*
not path /guacamole*
}
redir @notGuac /quacamole/
redir @notGuac /guacamole/
reverse_proxy 10.69.2.52:8080 {
flush_interval -1
}
@ -76,3 +76,9 @@ frigate.local.cobb.lgbt {
immich.local.cobb.lgbt {
reverse_proxy 10.69.2.52:2283
}
readeck.local.cobb.lgbt {
reverse_proxy 10.69.2.52:8083
}
readeck.cobb.lgbt {
reverse_proxy 10.69.2.52:8083
}

View file

@ -75,5 +75,11 @@
append: true
groups: docker
when: common_docker_group_exists is defined and common_docker_group_exists.state == 'present'
- name: Add user to lxc_share
ansible.builtin.user:
name: "{{ user_name }}"
append: true
groups: lxc_shares
when: inventory_hostname == 'nemetona'
# code: language=ansible

View file

@ -0,0 +1,17 @@
---
services:
app:
image: codeberg.org/readeck/readeck:${READECK_IMAGE_TAG:-latest}
container_name: readeck
ports:
- 8083:8000
volumes:
- /mnt/storage/readeck:/readeck
restart: unless-stopped
env_file:
- .env
healthcheck:
test: ["CMD", "/bin/readeck", "healthcheck", "-config", "config.toml"]
interval: 30s
timeout: 2s
retries: 3

View file

@ -0,0 +1,48 @@
---
- name: Load distro-specific variables
ansible.builtin.include_vars: '{{ item }}'
tags: always
with_first_found:
- files:
- "{{ ansible_facts['distribution'] }}.yaml"
skip: true
- name: Ensure Readeck is deployed and running on this device
block:
- name: Ensure presense of folders for Readeck
tags: packages,docker,readeck,bookmarks
ansible.builtin.file:
path: "{{ item }}"
state: directory
recurse: true
owner: 1000
group: 1000
loop:
- "/mnt/storage/readeck"
- "/opt/readeck"
- name: Ensure environment files are present for Readeck
tags: packages,docker,readeck,bookmarks
ansible.builtin.template:
src: env.j2
dest: /opt/readeck/.env
owner: 1000
group: 1000
mode: u=rw,g=r,o=r
- name: Ensure compose files are present for Readeck
tags: packages,docker,readeck,bookmarks
ansible.builtin.copy:
src: "docker-compose.yaml"
dest: "/opt/readeck/docker-compose.yaml"
owner: 1000
group: 1000
mode: u=rw,g=r,o=r
- name: Ensure the containers are pulled and running
tags: packages,docker,readeck,bookmarks
community.docker.docker_compose_v2:
project_src: /opt/readeck
pull: policy
rescue:
- name: Set that this task failed
ansible.builtin.set_fact:
task_failed: true

View file

@ -0,0 +1,6 @@
READECK_LOG_LEVEL=info
READECK_SERVER_HOST="0.0.0.0"
READECK_SERVER_PORT=8000
READECK_LOG_FORMAT=text
READECK_IMAGE_TAG={{ readeck_image_tag }}
READECK_DATABASE_SOURCE="postgres://readeck:{{ readeck_postgres_password }}@10.69.10.20:5432/readeck"

View file

@ -0,0 +1,10 @@
---
readeck_image_tag: 0.21.6
readeck_postgres_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
62343130313263613838643231343964393565343233343532613934386638333431396162386632
6132316233333436653761333163656535373734396339360a643937303962656539383137313038
37343664663938343434363464393730623735613062633436323837376263653265333463366166
3364343331616261630a356664313930663137633536646365336161303538336663633663326566
62326132343531613130623632343631346334346462326266636333396133383832636666643634
3031306536316361376437623537306232656333646232613130

View file

@ -36,7 +36,7 @@ all:
hosts:
adguardpi:
# maxim:
pump:
# pump:
fifi:
knivi:
reir:

View file

@ -59,6 +59,7 @@
- adhdgirl.minilab.cloudflared
- adhdgirl.minilab.termix
- adhdgirl.minilab.immich
- adhdgirl.minilab.readeck
- name: Configure frigate
hosts: curren
tags: docker,frigate