From 86bb68fe746cbef9789afd712731055b1376ec28 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Fri, 6 Jan 2023 15:49:36 -0700 Subject: [PATCH] Add host name --- gitea/docker-compose.yml | 3 +++ gitea/run-this-first.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index 39538ce..1af55e9 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -16,6 +16,9 @@ services: - GITEA__database__NAME=gitea - GITEA__database__USER=gitea - GITEA__database__PASSWD=gitea + - GITEA__server__HTTP_PORT=3000 + - GITEA__server__LOCAL_ROOT_URL=http://gitea.local:3000/ + - GITEA__server__ROOT_URL=http://gitea.local:3000/ restart: always networks: - gitea diff --git a/gitea/run-this-first.sh b/gitea/run-this-first.sh index 3c2c89d..a8f6290 100755 --- a/gitea/run-this-first.sh +++ b/gitea/run-this-first.sh @@ -1,3 +1,4 @@ #!/bin/sh mkdir -p ./gitea +mkdir -p ./gitea/ssh mkdir -p ./postgres