Adds images for gitea, and humans.txt

This commit is contained in:
Nemo 2018-01-26 02:23:53 +05:30
parent 964e569bbe
commit 01b9628075
5 changed files with 38 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

11
docker/conf/humans.txt Normal file
View File

@ -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/

View File

@ -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

View File

@ -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.