From 80d9dc0b94fdae124d4444df4a46877d5a48b398 Mon Sep 17 00:00:00 2001 From: jacobthetechy Date: Sat, 21 Oct 2023 14:44:13 -0400 Subject: [PATCH] Making settings dynamic (#1433) --- .../gitea/gitea/conf/{app.ini => app.ini.template} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename apps/gitea/data/gitea/gitea/conf/{app.ini => app.ini.template} (92%) diff --git a/apps/gitea/data/gitea/gitea/conf/app.ini b/apps/gitea/data/gitea/gitea/conf/app.ini.template similarity index 92% rename from apps/gitea/data/gitea/gitea/conf/app.ini rename to apps/gitea/data/gitea/gitea/conf/app.ini.template index 9d9e57bd..e06035f6 100644 --- a/apps/gitea/data/gitea/gitea/conf/app.ini +++ b/apps/gitea/data/gitea/gitea/conf/app.ini.template @@ -16,13 +16,13 @@ PATH=/data/git/lfs [server] APP_DATA_PATH = /data/gitea -DOMAIN = localhost -SSH_DOMAIN = localhost +DOMAIN = {{APP_HOST}} +SSH_DOMAIN = {{APP_HOST}} HTTP_PORT = 3000 -ROOT_URL = http://localhost:8108/ +ROOT_URL = https://{{APP_DOMAIN}}/ DISABLE_SSH = false -SSH_PORT = 22 -SSH_LISTEN_PORT = 22 +SSH_PORT = 222 +SSH_LISTEN_PORT = 222 LFS_START_SERVER = true LFS_JWT_SECRET = wo2G20l0nGsspUp8xsLNSNF7H8U-GQUVth5gj_q5cDk OFFLINE_MODE = false