feat: add some extra notes to docker environments

This commit is contained in:
Oleh Astappiev
2025-04-19 20:37:24 +02:00
committed by Aditya Chandel
parent 5068b9bae4
commit 75f55293da
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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