mirror of
https://github.com/booklore-app/booklore.git
synced 2026-02-18 00:17:53 +01:00
32 lines
1.7 KiB
Bash
32 lines
1.7 KiB
Bash
# Docker Image Version
|
||
# This determines which version of the Booklore image to pull from GitHub Container Registry (GHCR).
|
||
# Use "latest" for the most recent version or specify a tag like "v1.0.0".
|
||
BOOKLORE_IMAGE_TAG=latest
|
||
|
||
# User and Timezone Settings
|
||
# PUID and PGID define the user/group running the container.
|
||
# Avoid using "user" property because system won't work with it.
|
||
# TZ sets the timezone for correct time-related operations.
|
||
PUID=1000 # Default user ID (Check with `id -u` on Linux/Mac)
|
||
PGID=1000 # Default group ID (Check with `id -g` on Linux/Mac)
|
||
TZ=Etc/UTC # Change this to your timezone (e.g., America/New_York, Asia/Kolkata)
|
||
|
||
# Database Credentials (Replace with a secure password)
|
||
# This password is used by MariaDB. Make sure to keep it secure.
|
||
MYSQL_ROOT_PASSWORD=super_secure_password
|
||
MYSQL_DATABASE=booklore
|
||
MYSQL_USER=booklore
|
||
MYSQL_PASSWORD=your_secure_password
|
||
|
||
# Paths for Docker Volumes (Update these paths as per your system)
|
||
# These paths store persistent data for Booklore and MariaDB.
|
||
# Replace "/path/to/..." with actual directories on your system.
|
||
BOOKLORE_DATA_PATH=/path/to/booklore/data # Example: /home/user/booklore/data (Stores app-related data)
|
||
BOOKLORE_BOOKS_PATH=/path/to/booklore/books # Example: /home/user/booklore/books (Stores book files)
|
||
MARIADB_CONFIG_PATH=/path/to/mariadb/config # Example: /home/user/booklore/mariadb/config (Stores database config)
|
||
|
||
# How to find your correct paths?
|
||
# 1. Choose a location where you want to store persistent data.
|
||
# 2. Create the required folders if they don’t exist.
|
||
# 3. Use `pwd` in your terminal inside those directories to get the full path.
|
||
# 4. Replace `/path/to/...` above with your actual paths. |