.envs
This commit is contained in:
1 parent
209a06b21f
commit
b4b7b4b636
4 files changed
+53
No files matched your search
@@ -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
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
# Local Development Environment Configuration
|
||||||
|
|
||||||
|
# Database Configuration
|
||||||
|
DB_HOST=db:3306
|
||||||
|
DB_NAME=gitea
|
||||||
|
DB_USER=gitea
|
||||||
|
DB_PASSWORD=gitea_password_local
|
||||||
|
MYSQL_ROOT_PASSWORD=root_password_local
|
||||||
|
|
||||||
|
# Gitea Configuration
|
||||||
|
GITEA_DOMAIN=localhost
|
||||||
|
GITEA_ROOT_URL=http://localhost:3000
|
||||||
|
GITEA_HTTP_PORT=3000
|
||||||
|
GITEA_SSH_PORT=2222
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Production Environment Configuration
|
||||||
|
|
||||||
|
# Database Configuration
|
||||||
|
DB_HOST=db:3306
|
||||||
|
DB_NAME=gitea
|
||||||
|
DB_USER=gitea
|
||||||
|
DB_PASSWORD=CHANGE_ME_STRONG_PASSWORD
|
||||||
|
MYSQL_ROOT_PASSWORD=CHANGE_ME_ROOT_PASSWORD
|
||||||
|
|
||||||
|
# Gitea Configuration
|
||||||
|
GITEA_DOMAIN=repos.guschin.info
|
||||||
|
GITEA_ROOT_URL=https://repos.guschin.info
|
||||||
|
GITEA_HTTP_PORT=3000
|
||||||
|
GITEA_SSH_PORT=22
|
||||||
|
|
||||||
|
# IMPORTANT: Update passwords before deploying to production!
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
Reference in new issue
Block a user