From 88927e6cf5d1179a09e8f4b04bc930aec9f52b2c Mon Sep 17 00:00:00 2001 From: Public copy <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 13:38:28 +0000 Subject: [PATCH] automated commit Signed-off-by: Public copy <41898282+github-actions[bot]@users.noreply.github.com> --- images/gitlab-pages/config/main.tf | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/images/gitlab-pages/config/main.tf b/images/gitlab-pages/config/main.tf index 380d2136b..272d3b480 100644 --- a/images/gitlab-pages/config/main.tf +++ b/images/gitlab-pages/config/main.tf @@ -18,23 +18,41 @@ output "config" { packages = var.extra_packages } accounts = module.accts.block + environment = { + "HOME" = "/home/git" + "LANG" = "C.UTF-8" + "CONFIG_TEMPLATE_DIRECTORY" = "/etc/gitlab-pages" + } entrypoint = { - command = "/scripts/start-pages" + command = "/scripts/entrypoint.sh" } paths = [{ path = "/etc/gitlab-pages" type = "directory" permissions = 493 + uid = module.accts.uid + gid = module.accts.gid recursive = true }, { path = "/srv/gitlab-pages" type = "directory" permissions = 493 + uid = module.accts.uid + gid = module.accts.gid recursive = true }, { path = "/var/log/gitlab-pages" type = "directory" permissions = 493 + uid = module.accts.uid + gid = module.accts.gid + recursive = true + }, { + path = "/home/git" + type = "directory" + permissions = 493 + uid = module.accts.uid + gid = module.accts.gid recursive = true }] })