From c80f5b55ce2276514b01657bda24bf187d090dcd Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 7 Nov 2026 14:08:20 -0700 Subject: [PATCH] gitea, move ports to env file. --- Config/Gitea/docker-compose.example.yml | 4 ++-- Config/Gitea/example.env | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Config/Gitea/docker-compose.example.yml b/Config/Gitea/docker-compose.example.yml index 6b6cc4a..1dbff63 100644 --- a/Config/Gitea/docker-compose.example.yml +++ b/Config/Gitea/docker-compose.example.yml @@ -17,8 +17,8 @@ services: image: gitea/gitea:latest restart: always ports: - - "3001:3000" - - "2201:22" + - "$GITEA_WEB_PORT:3000" + - "$GITEA_SSH_PORT:22" volumes: - ../../Volumes/Gitea/gitea:/data - /etc/timezone:/etc/timezone:ro diff --git a/Config/Gitea/example.env b/Config/Gitea/example.env index cae4228..31b1213 100644 --- a/Config/Gitea/example.env +++ b/Config/Gitea/example.env @@ -4,6 +4,11 @@ COMPOSE_BAKE=true +## Gitea ## + +GITEA_WEB_PORT=3001 +GITEA_SSH_PORT=2201 + ## Performance ## # Micro Server