This commit is contained in:
mguschin
2026-02-02 19:58:01 +03:00
parent e31034d8c6
commit 209a06b21f
4 changed files with 375 additions and 1 deletions

22
init-database.sh Executable file
View 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 ""