Init.
This commit is contained in:
22
init-database.sh
Executable file
22
init-database.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Database Note for Gitea
|
||||
# The MySQL database for Gitea is managed in a separate repository
|
||||
# This script is deprecated and kept for reference only
|
||||
|
||||
echo "=========================================="
|
||||
echo "Gitea Database Setup"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
echo "Note: The MySQL database is managed separately."
|
||||
echo "Please ensure the database is running before starting Gitea."
|
||||
echo ""
|
||||
echo "Required database connection details in .env:"
|
||||
echo " DB_HOST: <database-host>"
|
||||
echo " DB_NAME: gitea"
|
||||
echo " DB_USER: gitea"
|
||||
echo " DB_PASSWORD: <your-password>"
|
||||
echo ""
|
||||
echo "To start Gitea, run:"
|
||||
echo " docker-compose up -d"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user