booklore and remove some old stuff

This commit is contained in:
Nathan root
2025-12-11 18:27:57 +00:00
parent 9a72b6ab07
commit ceee62f62c
323 changed files with 2105 additions and 54 deletions

View File

@@ -6,9 +6,5 @@
# host: 127.0.0.1
# port: 2375
# my-docker:
# socket: /var/run/docker.sock
my-docker:
host: dockerproxy
port: 2375
socket: /var/run/docker.sock

View File

@@ -0,0 +1,5 @@
---
# pve:
# url: https://proxmox.host.or.ip:8006
# token: username@pam!Token ID
# secret: secret

View File

@@ -1,2 +1,2 @@
[Stats]
AllStats="@Variant(\0\0\0\x1c\0\0\0\x2\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0\x44\0L\0\0\0\x4\0\0\x2m>\xf\xabs\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0U\0L\0\0\0\x4\0\0\0,\xffi\xc1\0)"
AllStats="@Variant(\0\0\0\x1c\0\0\0\x2\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0U\0L\0\0\0\x4\0\0\0-\0\0Z=\0\0\0\x12\0\x41\0l\0l\0t\0i\0m\0\x65\0\x44\0L\0\0\0\x4\0\0\x2m>/-\xca)"

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -656,30 +656,6 @@ services:
- "kuma.audiobookshelf.http.name=Audiobookshelf"
- "kuma.audiobookshelf.http.url=http://${LOCAL_IP}:13378"
mylar3:
image: lscr.io/linuxserver/mylar3:latest
container_name: mylar3
environment:
- PGID
- PUID
- TZ
volumes:
- $CONFIG/mylar:/config
- $DATA/books/comics:/comics
- $DATA/Downloads:/downloads
ports:
- 8090:8090
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.mylar3.rule=Host(`comics.${DOMAIN}`)"
- "traefik.http.routers.mylar3.entrypoints=websecure"
- "traefik.http.routers.mylar3.tls=true"
- "traefik.http.routers.mylar3.tls.certresolver=myresolver"
- "traefik.http.routers.mylar3.middlewares=secured-no-oauth"
- "kuma.mylar3.http.name=Mylar3"
- "kuma.mylar3.http.url=http://${LOCAL_IP}:8090"
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
@@ -729,30 +705,58 @@ services:
- "kuma.stirlingpdf.http.name=Stirlingpdf"
- "kuma.stirlingpdf.http.url=http://${LOCAL_IP}:8093"
# satisfactory-server:
# container_name: 'satisfactory-server'
# hostname: 'satisfactory-server'
# image: 'wolveix/satisfactory-server:latest'
# ports:
# - '7777:7777/udp'
# - '7777:7777/tcp'
# volumes:
# - '${DATA}/satisfactory-server:/config'
# environment:
# - MAXPLAYERS=4
# - PGID
# - PUID
# - TZ
# - ROOTLESS=false
# - STEAMBETA=false
# restart: unless-stopped
# healthcheck:
# test: [ "CMD", "bash", "/healthcheck.sh" ]
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 120s
booklore:
image: booklore/booklore:latest
container_name: booklore
restart: unless-stopped
environment:
- PUID
- PGID
- TZ
- DATABASE_URL=jdbc:mariadb://booklore-mariadb:3306/booklore
- DATABASE_USERNAME=booklore
- DATABASE_PASSWORD=${PG_PASS}
- BOOKLORE_PORT=6060
depends_on:
booklore-mariadb:
condition: service_healthy
ports:
- "6060:6060"
volumes:
- $DATA/booklore/data:/app/data
- $DATA/books:/books
- $DATA/bookdrop:/bookdrop
labels:
- "traefik.enable=true"
- "traefik.http.routers.booklore.rule=Host(`booklore.${DOMAIN}`)"
- "traefik.http.routers.booklore.entrypoints=websecure"
- "traefik.http.routers.booklore.tls=true"
- "traefik.http.routers.booklore.tls.certresolver=myresolver"
- "traefik.http.routers.booklore.middlewares=secured"
- "traefik.http.services.booklore-svc.loadbalancer.server.port=6060"
- "kuma.booklore.http.name=booklore"
- "kuma.booklore.http.url=http://${LOCAL_IP}:6060"
booklore-mariadb:
image: lscr.io/linuxserver/mariadb:11.4.5
container_name: booklore-mariadb
restart: unless-stopped
environment:
- PUID
- PGID
- TZ
- MYSQL_ROOT_PASSWORD=${PG_PASS}
- MYSQL_DATABASE=booklore
- MYSQL_USER=booklore
- MYSQL_PASSWORD=${PG_PASS}
volumes:
- ./mariadb/config:/config
healthcheck:
test: [ "CMD", "mariadb-admin", "ping", "-h", "localhost" ]
interval: 5s
timeout: 5s
retries: 10
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
@@ -775,6 +779,27 @@ services:
- "traefik.http.routers.homarr.tls.certresolver=myresolver"
- "traefik.http.routers.homarr.middlewares=authentik@docker"
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
ports:
- 3008:3000
volumes:
- ${CONFIG}/homepage:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
environment:
- PGID
- PUID
- TZ
- HOMEPAGE_ALLOWED_HOSTS=homepage.${DOMAIN} # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts
labels:
- "traefik.enable=true"
- "traefik.http.routers.homepage.rule=Host(`homepage.${DOMAIN}`)"
- "traefik.http.routers.homepage.entrypoints=websecure"
- "traefik.http.routers.homepage.tls=true"
- "traefik.http.routers.homepage.tls.certresolver=myresolver"
- "traefik.http.routers.homepage.middlewares=authentik@docker"
dash:
container_name: dash
image: mauricenino/dashdot:latest
@@ -799,6 +824,8 @@ services:
- "traefik.http.routers.dash.tls=true"
- "traefik.http.routers.dash.tls.certresolver=myresolver"
- "traefik.http.routers.dash.middlewares=authentik@docker"
- homepage.name=Dash
- homepage.icon=dash.png
terraforming-mars:
container_name: terraforming-mars

196
mariadb/config/custom.cnf Normal file
View File

@@ -0,0 +1,196 @@
## custom configuration file based on https://github.com/just-containers/mariadb/blob/master/rootfs/etc/mysql/my.cnf
## please be aware that changing options here may break things
#
# The MySQL database server configuration file.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# especially if they contain "#" chars...
[client]
port = 3306
socket = /run/mysqld/mysqld.sock
default-character-set = utf8mb4
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /run/mysqld/mysqld.sock
nice = 0
[mysqld]
#
# * Basic Settings
#
user = abc
pid-file = /run/mysqld/mysqld.pid
socket = /run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc_messages_dir = /usr/share/mariadb
lc_messages = en_US
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address = 127.0.0.1
#
# * Fine Tuning
#
key_buffer_size = 128M
max_connections = 100
connect_timeout = 5
wait_timeout = 600
max_allowed_packet = 16M
thread_cache_size = 128
thread_stack = 192K
sort_buffer_size = 4M
bulk_insert_buffer_size = 16M
tmp_table_size = 32M
max_heap_table_size = 32M
#performance_schema = on
character_set_server = utf8mb4
collation_server = utf8mb4_general_ci
transaction_isolation = READ-COMMITTED
binlog_format = MIXED
#
# * MyISAM
#
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched. On error, make copy and try a repair.
myisam-recover-options = BACKUP
#open-files-limit = 2000
table_open_cache = 400
#table_cache = 64
#thread_concurrency = 10
myisam_sort_buffer_size = 512M
concurrent_insert = 2
read_buffer_size = 2M
read_rnd_buffer_size = 1M
#
# * Query Cache Configuration
#
# Cache only tiny result sets, so we can fit more in the query cache.
query_cache_limit = 128K
query_cache_size = 64M
# for more write intensive setups, set to DEMAND or OFF
query_cache_type = DEMAND
#
# * Logging and Replication
#
console = 1
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log = 1
#general_log_file = /config/log/mysql/mysql.log
#
# Error log - should be very few entries.
#
log_warnings = 2
# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf
log_error = /config/log/mysql/mariadb-error.log
#
# Enable the slow query log to see queries with especially long duration
slow_query_log = 1
slow_query_log_file = /config/log/mysql/mariadb-slow.log
long_query_time = 5
#log_slow_rate_limit = 1000
#log-queries-not-using-indexes
#log_slow_admin_statements
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see
# https://mariadb.com/kb/en/setting-up-replication/
# about other settings you may need to change.
#server-id = 1
#report_host = master1
#auto_increment_increment = 2
#auto_increment_offset = 1
log_bin = /config/log/mysql/mariadb-bin
log_bin_index = /config/log/mysql/mariadb-bin.index
# not fab for performance, but safer
#sync_binlog = 1
#binlog_do_db = include_database_name
#binlog_ignore_db = include_database_name
expire_logs_days = 10
max_binlog_size = 100M
# slaves
#relay_log = /config/log/mysql/relay-bin
#relay_log_index = /config/log/mysql/relay-bin.index
#relay_log_info_file = /config/log/mysql/relay-bin.info
#log_slave_updates
#read_only
#
# If applications support it, this stricter sql_mode prevents some
# mistakes like inserting invalid dates etc.
#sql_mode = NO_ENGINE_SUBSTITUTION,TRADITIONAL
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
default_storage_engine = InnoDB
# you can't just change log file size, requires special procedure
#innodb_log_file_size = 50M
innodb_buffer_pool_size = 256M
innodb_log_buffer_size = 8M
innodb_file_per_table = 1
innodb_open_files = 400
innodb_io_capacity = 400
innodb_flush_method = O_DIRECT
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completion
[isamchk]
key_buffer = 16M
#
# * Galera-related settings
#
[galera]
# Mandatory settings
#wsrep_on=ON
#wsrep_provider=
#wsrep_cluster_address=
#binlog_format=MIXED
#default_storage_engine=InnoDB
#innodb_autoinc_lock_mode=2
#
# Allow server to accept connections on all interfaces.
#
#bind-address=0.0.0.0
#
# Optional setting
#wsrep_slave_threads=1
#innodb_flush_log_at_trx_commit=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,2 @@
default-character-set=utf8mb4
default-collation=utf8mb4_general_ci

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More