diff --git a/docker/conf/gitea/public/img/gitea-lg.png b/docker/conf/gitea/public/img/gitea-lg.png new file mode 100644 index 0000000..0b5bdc6 Binary files /dev/null and b/docker/conf/gitea/public/img/gitea-lg.png differ diff --git a/docker/conf/gitea/public/img/gitea-sm.png b/docker/conf/gitea/public/img/gitea-sm.png new file mode 100644 index 0000000..8a20c44 Binary files /dev/null and b/docker/conf/gitea/public/img/gitea-sm.png differ diff --git a/docker/conf/humans.txt b/docker/conf/humans.txt new file mode 100644 index 0000000..5929a94 --- /dev/null +++ b/docker/conf/humans.txt @@ -0,0 +1,11 @@ +/* TEAM */ + Captain: Nemo (Abhay Rana) + Contact: git [at] captnemo.in + Twitter: @captn3m0 + +/* SITE */ + Last update: Jan 2018 + Language: English + IDE: Sublime Text, Vim + Runs-On: Docker + Details: https://git.captnemo.in/nemo/nebula/ diff --git a/docker/gitea.tf b/docker/gitea.tf index 4635e4b..7e0a40d 100644 --- a/docker/gitea.tf +++ b/docker/gitea.tf @@ -33,6 +33,28 @@ resource docker_container "gitea" { host_path = "${docker_volume.gitea_volume.mountpoint}" } + upload { + content = "${file("${path.module}/conf/gitea/public/img/gitea-lg.png")}" + file = "/data/gitea/public/img/gitea-lg.png" + } + + upload { + content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}" + file = "/data/gitea/public/img/gitea-sm.png" + } + + upload { + content = "${file("${path.module}/conf/gitea/public/img/gitea-sm.png")}" + file = "/data/gitea/public/img/favicon.png" + } + + upload { + content = "${file("${path.module}/conf/humans.txt")}" + file = "/data/gitea/public/humans.txt" + } + + # TODO: Add svg + memory = 256 restart = "unless-stopped" destroy_grace_seconds = 10 diff --git a/docker/main.tf b/docker/main.tf index 03a1fe9..7c7e2ab 100644 --- a/docker/main.tf +++ b/docker/main.tf @@ -364,6 +364,11 @@ resource "docker_container" "wiki" { container_path = "/data" } + upload { + content = "${file("${path.module}/conf/humans.txt")}" + file = "/var/wiki/assets/humans.txt" + } + // The last header is a workaround for double header traefik bug // This might be actually breaking iframe till the 1.5 Final release.