diff --git a/ops/gitea/compose.yaml b/ops/gitea/compose.yaml index 0e431c0..f263e6d 100644 --- a/ops/gitea/compose.yaml +++ b/ops/gitea/compose.yaml @@ -8,8 +8,8 @@ services: environment: GITEA__database__DB_TYPE: sqlite3 GITEA__database__PATH: /var/lib/gitea/data/gitea.db - GITEA__server__DOMAIN: localhost - GITEA__server__ROOT_URL: http://localhost:3000/ + GITEA__server__DOMAIN: "${GITEA_DOMAIN:-localhost}" + GITEA__server__ROOT_URL: "${GITEA_ROOT_URL:-http://localhost:3000/}" GITEA__server__HTTP_PORT: 3000 GITEA__server__DISABLE_SSH: "true" GITEA__service__DISABLE_REGISTRATION: "true"