change booklore

This commit is contained in:
2026-07-11 09:28:42 +08:00
parent 2bb57fc006
commit 5e693c65af
2 changed files with 16 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
services:
booklore:
image: booklore/booklore:v1.17.0
image: ghcr.io/booklore-app/booklore:v2.3.1
container_name: booklore
environment:
- USER_ID=${APP_USER_ID}
@@ -9,18 +9,18 @@ services:
- DATABASE_URL=${DATABASE_URL}
- DATABASE_USERNAME=${DB_USER}
- DATABASE_PASSWORD=${DB_PASSWORD}
- BOOKLORE_PORT=${BOOKLORE_PORT}
- DISK_TYPE=${DISK_TYPE}
depends_on:
mariadb:
condition: service_healthy
ports:
- "${BOOKLORE_PORT}:${BOOKLORE_PORT}"
- "6060:6060"
volumes:
- ./data:/app/data
- ./books:/books
- ./bookdrop:/bookdrop
healthcheck:
test: wget -q -O - http://localhost:${BOOKLORE_PORT}/api/v1/healthcheck
test: wget -q -O - http://localhost:6060/api/v1/healthcheck
interval: 60s
retries: 5
start_period: 60s
@@ -28,7 +28,7 @@ services:
restart: unless-stopped
mariadb:
image: linuxserver/mariadb:11.4.5
image: lscr.io/linuxserver/mariadb:11.4.5
container_name: mariadb
environment:
- PUID=${DB_USER_ID}