mirror of
https://github.com/booklore-app/booklore.git
synced 2025-12-23 22:28:11 -05:00
feat: add some extra notes to docker environments
This commit is contained in:
committed by
Aditya Chandel
parent
5068b9bae4
commit
75f55293da
12
README.md
12
README.md
@@ -48,9 +48,9 @@ ### 2️⃣ Create docker-compose.yml
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore
|
||||
- DATABASE_USERNAME=booklore
|
||||
- DATABASE_PASSWORD=your_secure_password # Use a strong password; must match the one in the mariadb service
|
||||
- DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore # Only modify this if you're familiar with JDBC and your database setup
|
||||
- DATABASE_USERNAME=booklore # Must match MYSQL_USER defined in the mariadb container
|
||||
- DATABASE_PASSWORD=your_secure_password # Use a strong password; must match MYSQL_PASSWORD defined in the mariadb container
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
@@ -68,10 +68,10 @@ ### 2️⃣ Create docker-compose.yml
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- MYSQL_ROOT_PASSWORD=your_secure_password # Use a strong password
|
||||
- MYSQL_ROOT_PASSWORD=super_secure_password # Use a strong password for the database's root user, should be different from MYSQL_PASSWORD
|
||||
- MYSQL_DATABASE=booklore
|
||||
- MYSQL_USER=booklore
|
||||
- MYSQL_PASSWORD=your_secure_password # Use a strong password; must match the one in the booklore service
|
||||
- MYSQL_USER=booklore # Must match DATABASE_USERNAME defined in the booklore container
|
||||
- MYSQL_PASSWORD=your_secure_password # Use a strong password; must match DATABASE_PASSWORD defined in the booklore container
|
||||
volumes:
|
||||
- /your/local/path/to/mariadb/config:/config
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -12,7 +12,7 @@ TZ=Etc/UTC # Change this to your timezone (e.g., America/New_York, Asia/Kolk
|
||||
|
||||
# Database Credentials (Replace with a secure password)
|
||||
# This password is used by MariaDB. Make sure to keep it secure.
|
||||
MYSQL_ROOT_PASSWORD=your_secure_password
|
||||
MYSQL_ROOT_PASSWORD=super_secure_password
|
||||
MYSQL_DATABASE=booklore
|
||||
MYSQL_USER=booklore
|
||||
MYSQL_PASSWORD=your_secure_password
|
||||
|
||||
Reference in New Issue
Block a user