This commit is contained in:
mguschin
2026-02-02 20:02:18 +03:00
parent 209a06b21f
commit b4b7b4b636
4 changed files with 53 additions and 0 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
# Example Environment Configuration
# Copy this file to .env and update the values as needed
# Database Configuration (external, managed separately)
DB_HOST=db-host:3306
DB_NAME=gitea
DB_USER=gitea
DB_PASSWORD=change_me_database_password
# Gitea Configuration
GITEA_DOMAIN=localhost
GITEA_ROOT_URL=http://localhost:3000
GITEA_HTTP_PORT=3000
GITEA_SSH_PORT=2222
# For production (repos.guschin.info):
# GITEA_DOMAIN=repos.guschin.info
# GITEA_ROOT_URL=https://repos.guschin.info
# GITEA_HTTP_PORT=3000
# GITEA_SSH_PORT=2222
# GITEA_SSH_LISTEN_PORT = 2222
# GITEA_START_SSH_SERVER = true