fix: update database host configuration to clarify automatic resolution via Docker DNS
This commit is contained in:
@@ -56,7 +56,7 @@ GITEA_DB_TYPE=sqlite3 # Database type: sqlite3, mysql, postgres, or
|
|||||||
GITEA_VERSION=1.25 # Gitea Docker image tag (e.g. 1.25, 1.25.4, latest)
|
GITEA_VERSION=1.25 # Gitea Docker image tag (e.g. 1.25, 1.25.4, latest)
|
||||||
|
|
||||||
# Database connection (ignored for sqlite3 — only required for mysql/postgres/mssql)
|
# Database connection (ignored for sqlite3 — only required for mysql/postgres/mssql)
|
||||||
GITEA_DB_HOST= # Database host (container IP or hostname)
|
# DB host is automatic — Docker internal DNS resolves the service name.
|
||||||
GITEA_DB_PORT= # Database port (mysql=3306, postgres=5432, mssql=1433)
|
GITEA_DB_PORT= # Database port (mysql=3306, postgres=5432, mssql=1433)
|
||||||
GITEA_DB_NAME=gitea # Database name
|
GITEA_DB_NAME=gitea # Database name
|
||||||
GITEA_DB_USER=gitea # Database user
|
GITEA_DB_USER=gitea # Database user
|
||||||
|
|||||||
Reference in New Issue
Block a user