mirror of
https://github.com/booklore-app/booklore.git
synced 2026-02-18 00:17:53 +01:00
* feat: remove nginx and serve Angular directly from Spring Boot * fix: handle null values in EnabledFields deserialization from persisted JSON * fix(migration): auto-repair failed Flyway migrations on startup * fix(migration): replace DB triggers with app-level orphan cleanup * fix: restore default port to 6060 for backwards compatibility * fix: align all port references to 6060 and add OPDS compression MIME types * fix: resolve NG0101 recursive tick error in book browser selection --------- Co-authored-by: acx10 <acx10@users.noreply.github.com>
27 lines
689 B
Plaintext
27 lines
689 B
Plaintext
[Unit]
|
|
Description=booklore container
|
|
Requires=booklore-db.container
|
|
After=booklore-db.container
|
|
|
|
[Container]
|
|
ContainerName=booklore
|
|
Image=ghcr.io/booklore-app/booklore:latest
|
|
Pod=booklore.pod
|
|
AutoUpdate=registry
|
|
Pull=always
|
|
|
|
Volume=booklore-data:/app/data
|
|
# note the :z is important for selinux systems
|
|
# Volume=YOUR MOUNTS:/books:z
|
|
# Volume=YOUR MOUNTS:/bookdrop:z
|
|
|
|
|
|
Environment=TZ=Etc/UTC
|
|
Secret=booklore_db_pass,type=env,target=DATABASE_PASSWORD
|
|
Environment=DATABASE_URL=jdbc:mariadb://localhost:3306/booklore
|
|
Environment=DATABASE_USERNAME=booklore
|
|
HealthCmd=wget -q -O - http://localhost:6060/api/v1/healthcheck
|
|
HealthInterval=1m
|
|
HealthRetries=5
|
|
HealthStartPeriod=1m
|
|
HealthTimeout=10s |