From 8f2142c1f24441d319db73f6d86f4400f3a045d6 Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Sat, 21 Feb 2026 11:20:43 -0800 Subject: [PATCH] Added .env.example files to all folders and changed the port env var for Gitea to follow naming convention --- Doku/.env.example | 2 ++ Draw.io/.env.example | 2 ++ Gitea/.env.example | 23 +++++++++++++++++++++++ Gitea/docker-compose.yaml | 2 +- IT-Tools/.env.example | 2 ++ Watchtower/.env.example | 2 ++ 6 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Doku/.env.example create mode 100644 Draw.io/.env.example create mode 100644 Gitea/.env.example create mode 100644 IT-Tools/.env.example create mode 100644 Watchtower/.env.example diff --git a/Doku/.env.example b/Doku/.env.example new file mode 100644 index 0000000..9cdf8b4 --- /dev/null +++ b/Doku/.env.example @@ -0,0 +1,2 @@ +# Main interface port for accessing the application +DOKU_PORT="8000" \ No newline at end of file diff --git a/Draw.io/.env.example b/Draw.io/.env.example new file mode 100644 index 0000000..43645d8 --- /dev/null +++ b/Draw.io/.env.example @@ -0,0 +1,2 @@ +# Main interface port for accessing the application +DRAWIO_PORT="8000" \ No newline at end of file diff --git a/Gitea/.env.example b/Gitea/.env.example new file mode 100644 index 0000000..0a1bb8d --- /dev/null +++ b/Gitea/.env.example @@ -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" \ No newline at end of file diff --git a/Gitea/docker-compose.yaml b/Gitea/docker-compose.yaml index cafc194..21c6535 100644 --- a/Gitea/docker-compose.yaml +++ b/Gitea/docker-compose.yaml @@ -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 diff --git a/IT-Tools/.env.example b/IT-Tools/.env.example new file mode 100644 index 0000000..3776064 --- /dev/null +++ b/IT-Tools/.env.example @@ -0,0 +1,2 @@ +# Main interface port for accessing the application +IT_TOOLS_PORT="8000" \ No newline at end of file diff --git a/Watchtower/.env.example b/Watchtower/.env.example new file mode 100644 index 0000000..a81d8ea --- /dev/null +++ b/Watchtower/.env.example @@ -0,0 +1,2 @@ +# Time Zone where the application is operating +WATCHTOWER_TZ="America/Los_Angeles" \ No newline at end of file