no message

This commit is contained in:
adityachandelgit
2025-04-09 18:10:41 -06:00
committed by Aditya Chandel
parent 4f992174ad
commit a0b1432ffc
+11 -11
View File
@@ -45,30 +45,30 @@ services:
image: ghcr.io/adityachandelgit/booklore-app:latest image: ghcr.io/adityachandelgit/booklore-app:latest
container_name: booklore container_name: booklore
environment: environment:
- PUID=1000 # User ID to ensure correct file permissions - PUID=1000
- PGID=1000 # Group ID to ensure correct file permissions - PGID=1000
- TZ=Etc/UTC # Set the timezone for logs and system operations - TZ=Etc/UTC
- MYSQL_ROOT_PASSWORD=your_secure_password # Replace with a strong password for the database (must be same as in mariadb container) - MYSQL_ROOT_PASSWORD=your_secure_password # Use a strong password; must match the one in the mariadb service
depends_on: depends_on:
mariadb: mariadb:
condition: service_healthy condition: service_healthy
ports: ports:
- "6060:6060" - "6060:6060"
volumes: volumes:
- /your/local/path/to/booklore/data:/app/data # Replace the left side before colon with your system path, keep the right side unchanged - /your/local/path/to/booklore/data:/app/data
- /your/local/path/to/booklore/books:/books # Replace the left side before colon with your book storage path, keep the right side unchanged - /your/local/path/to/booklore/books:/books
restart: unless-stopped restart: unless-stopped
mariadb: mariadb:
image: lscr.io/linuxserver/mariadb:11.4.5 image: lscr.io/linuxserver/mariadb:11.4.5
container_name: mariadb container_name: mariadb
environment: environment:
- PUID=1000 # Ensure correct file ownership for database files - PUID=1000
- PGID=1000 # Ensure correct file ownership for database files - PGID=1000
- TZ=Etc/UTC # Set the timezone for logs and database operations - TZ=Etc/UTC
- MYSQL_ROOT_PASSWORD=your_secure_password # Replace with a strong password for the database (must be same as in mariadb booklore) - MYSQL_ROOT_PASSWORD=your_secure_password # Use a strong password; must match the one in the booklore service
volumes: volumes:
- /your/local/path/to/mariadb/config:/config # Replace the left side before colon with your system path, keep the right side unchanged - /your/local/path/to/mariadb/config:/config
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"] test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]