Add missing mariadb creds
This commit is contained in:
committed by
Aditya Chandel
parent
320e227905
commit
125eaed345
@@ -48,6 +48,7 @@ services:
|
|||||||
- PUID=1000 # User ID to ensure correct file permissions
|
- PUID=1000 # User ID to ensure correct file permissions
|
||||||
- PGID=1000 # Group ID to ensure correct file permissions
|
- PGID=1000 # Group ID to ensure correct file permissions
|
||||||
- TZ=Etc/UTC # Set the timezone for logs and system operations
|
- TZ=Etc/UTC # Set the timezone for logs and system operations
|
||||||
|
- MYSQL_ROOT_PASSWORD=your_secure_password # Replace with a strong password for the database (must be same as in mariadb container)
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -65,7 +66,7 @@ services:
|
|||||||
- PUID=1000 # Ensure correct file ownership for database files
|
- PUID=1000 # Ensure correct file ownership for database files
|
||||||
- PGID=1000 # Ensure correct file ownership for database files
|
- PGID=1000 # Ensure correct file ownership for database files
|
||||||
- TZ=Etc/UTC # Set the timezone for logs and database operations
|
- TZ=Etc/UTC # Set the timezone for logs and database operations
|
||||||
- MYSQL_ROOT_PASSWORD=your_secure_password # Replace with a strong password for the database
|
- MYSQL_ROOT_PASSWORD=your_secure_password # Replace with a strong password for the database (must be same as in mariadb booklore)
|
||||||
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 # Replace the left side before colon with your system path, keep the right side unchanged
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user