feat: add some extra notes to docker environments

This commit is contained in:
Oleh Astappiev
2025-04-19 12:42:19 -06:00
committed by Aditya Chandel
parent 5068b9bae4
commit 75f55293da
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -48,9 +48,9 @@ services:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Etc/UTC - TZ=Etc/UTC
- DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore - DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore # Only modify this if you're familiar with JDBC and your database setup
- DATABASE_USERNAME=booklore - DATABASE_USERNAME=booklore # Must match MYSQL_USER defined in the mariadb container
- DATABASE_PASSWORD=your_secure_password # Use a strong password; must match the one in the mariadb service - DATABASE_PASSWORD=your_secure_password # Use a strong password; must match MYSQL_PASSWORD defined in the mariadb container
depends_on: depends_on:
mariadb: mariadb:
condition: service_healthy condition: service_healthy
@@ -68,10 +68,10 @@ services:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Etc/UTC - 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_DATABASE=booklore
- MYSQL_USER=booklore - MYSQL_USER=booklore # Must match DATABASE_USERNAME defined in the booklore container
- MYSQL_PASSWORD=your_secure_password # Use a strong password; must match the one in the booklore service - MYSQL_PASSWORD=your_secure_password # Use a strong password; must match DATABASE_PASSWORD defined in the booklore container
volumes: volumes:
- /your/local/path/to/mariadb/config:/config - /your/local/path/to/mariadb/config:/config
restart: unless-stopped restart: unless-stopped
+1 -1
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) # Database Credentials (Replace with a secure password)
# This password is used by MariaDB. Make sure to keep it secure. # 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_DATABASE=booklore
MYSQL_USER=booklore MYSQL_USER=booklore
MYSQL_PASSWORD=your_secure_password MYSQL_PASSWORD=your_secure_password