Added .env.example files to all folders and changed the port env var for Gitea to follow naming convention
This commit is contained in:
23
Gitea/.env.example
Normal file
23
Gitea/.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# Specifiy the type of database server you are using so Gitea knows (leave default mysql for this docker compose setup)
|
||||
GITEA_database_DB_TYPE="mysql"
|
||||
|
||||
# Port that the database server allows connection between the app server and the database server (leave default 3306)
|
||||
GITEA_database_HOST="3306"
|
||||
|
||||
# Database name that the app server will create after connecting to the database server
|
||||
GITEA_database_NAME="gitea"
|
||||
|
||||
# Username the app server will use to connect to the database server
|
||||
GITEA_database_USER="gitea"
|
||||
|
||||
# Password for the database username that the app server will use to connect to the database server
|
||||
GITEA_database_PASSWD="changeme"
|
||||
|
||||
# Main interface port for accessing the application
|
||||
GITEA_PORT="8000"
|
||||
|
||||
# SSH port you can expose for some applciations to connect instead of HTTPS
|
||||
SSH_PORT="2222"
|
||||
|
||||
# Password for the Root user on the database server. You won't have to use this so just set it to something strong
|
||||
GITEA_database_ROOT_PASSWD="changeme"
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- ${HOST_PORT}:3000
|
||||
- ${GITEA_PORT}:3000
|
||||
- ${SSH_PORT}:2222
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
Reference in New Issue
Block a user