Revert "kill booklore"
Some checks failed
Deploy Containers / Prepare (push) Failing after 9s

This reverts commit 2173104092.
This commit is contained in:
2026-04-05 22:35:04 -04:00
parent 2173104092
commit 41d6a674ff
2 changed files with 36 additions and 0 deletions

View File

@@ -70,6 +70,9 @@
- name: Deploy Romm
import_tasks: tasks/romm.yml
tags: romm_deploy
- name: Deploy Booklore
import_tasks: tasks/booklore.yml
tags: booklore_deploy
- name: Deploy Pelican
import_tasks: tasks/pelican.yml
tags: pelican_deploy

33
tasks/booklore.yml Normal file
View File

@@ -0,0 +1,33 @@
---
- name: Deploy Booklore
include_role:
name: docker
vars:
name: booklore
networks:
- name: homelab
directories:
- "{{ data_dir }}/booklore"
- "{{ data_dir }}/booklore/data"
- "{{ data_dir }}/booklore/books"
image:
name: booklore/booklore
tag: latest
env:
APP_USER_ID: "{{ PUID }}"
APP_GROUP_ID: "{{ PGID }}"
TZ: "{{ TZ }}"
BOOKLORE_PORT: "6060"
DATABASE_URL: jdbc:mariadb://172.16.0.44:3306/booklore
DATABASE_USERNAME: booklore
DATABASE_PASSWORD: "{{ BOOKLORE_DB_PASS }}"
volumes:
- "{{ data_dir }}/booklore/data:/app/data"
- "{{ data_dir }}/booklore/books:/books"
- "{{ media_path }}/Books/Bookdrop:/bookdrop"
labels:
traefik.enable: "true"
traefik.http.routers.booklore.rule: Host(`books.fntz.net`)
traefik.http.routers.booklore.entrypoints: webSecure
traefik.http.routers.booklore.tls.certresolver: letsencrypt
traefik.http.services.booklore.loadbalancer.server.port: "6060"