Guest User

Untitled

a guest
Feb 24th, 2026
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.22 KB | Software | 0 0
  1. services:
  2.   booklore:
  3.     image: booklore/booklore:latest
  4.     # Or use the GitHub Container Registry image:
  5.     # image: ghcr.io/booklore-app/booklore:latest
  6.     container_name: booklore
  7.     environment:
  8.      - PUID=1026
  9.       - PGID=100
  10.       - TZ=UTC # Replace with your timezone
  11.       - DATABASE_URL=jdbc:mariadb://mariadb-books:3306/booklore
  12.       - DATABASE_USERNAME=booklore
  13.       - DATABASE_PASSWORD= 123-changeme
  14.       - BOOKLORE_PORT=6060
  15.     depends_on:
  16.       mariadb-books:
  17.         condition: service_healthy
  18.     ports:
  19.      - "6060:6060"
  20.     volumes:
  21.      - ./data:/app/data
  22.       - ./books:/books
  23.       - ./bookdrop:/bookdrop
  24.     restart: unless-stopped
  25.  
  26.   mariadb-books:
  27.     image: lscr.io/linuxserver/mariadb:11.4.5
  28.     container_name: mariadb-books
  29.     environment:
  30.      - PUID=1026
  31.       - PGID=100
  32.       - TZ=UTC # Replace with you timezone code
  33.       - MYSQL_ROOT_PASSWORD= abc-changeme
  34.       - MYSQL_DATABASE=booklore
  35.       - MYSQL_USER=booklore
  36.       - MYSQL_PASSWORD= 123-changeme
  37.     volumes:
  38.      - ./config:/config
  39.     restart: unless-stopped
  40.     healthcheck:
  41.       test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
  42.       interval: 5s
  43.       timeout: 5s
  44.       retries: 10
Advertisement
Add Comment
Please, Sign In to add comment