minor gitea changes and cleanup
Diff
main.tf | 8 +-------
docker/got.tf | 20 --------------------
docker/lychee.tf | 30 ------------------------------
docker/outputs.tf | 4 ----
gitea/main.tf | 16 ++++++++--------
gitea/providers.tf | 12 ------------
docker/conf/humans.txt | 11 -----------
docker/conf/lychee.php.ini | 8 --------
gitea/conf/conf.ini.tpl | 2 +-
gitea/conf/home.tmpl | 36 ------------------------------------
gitea/conf/robots.txt | 26 --------------------------
gitea/conf/public/humans.txt | 11 +++++++++++
gitea/conf/public/robots.txt | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
13 files changed, 66 insertions(+), 181 deletions(-)
@@ -105,16 +105,10 @@
smtp-password = data.pass_password.mastodon-smtp-password.password
}
module "gh-runner-blr-today" {
source = "./modules/gh-runner"
name = "blr-today"
runner_version = "2.317.0"
runner_version = "2.319.0"
token = "${data.pass_password.github-actions-runner-token-blr-today.password}"
url = "https://github.com/blr-today"
}
@@ -1,20 +1,0 @@
data "docker_registry_image" "gotviz" {
name = "tocttou/gotviz:latest"
}
@@ -1,30 +1,0 @@
@@ -1,7 +1,3 @@
output "names-traefik" {
value = docker_container.traefik.name
}
@@ -32,35 +32,35 @@
upload {
content_base64 = filebase64("${path.module}/conf/public/img/gitea-lg.png")
file = "/data/gitea/public/img/logo.png"
file = "/data/gitea/public/assets/img/logo.png"
}
upload {
content_base64 = filebase64("${path.module}/conf/public/img/gitea-lg.png")
file = "/data/gitea/public/img/apple-touch-icon.png"
file = "/data/gitea/public/assets/img/apple-touch-icon.png"
}
upload {
content_base64 = filebase64("${path.module}/conf/public/img/gitea-sm.png")
file = "/data/gitea/public/img/favicon.png"
file = "/data/gitea/public/assets/img/favicon.png"
}
upload {
content_base64 = filebase64("${path.module}/conf/public/img/favicon.svg")
file = "/data/gitea/public/img/logo.svg"
file = "/data/gitea/public/assets/img/logo.svg"
}
upload {
content_base64 = filebase64("${path.module}/conf/public/img/favicon.svg")
file = "/data/gitea/public/img/favicon.svg"
file = "/data/gitea/public/assets/img/favicon.svg"
}
upload {
content = file("${path.module}/../docker/conf/humans.txt")
file = "/data/gitea/humans.txt"
content = file("${path.module}/conf/public/humans.txt")
file = "/data/gitea/public/humans.txt"
}
upload {
content = file("${path.module}/conf/public/robots.txt")
file = "/data/gitea/robots.txt"
file = "/data/gitea/public/robots.txt"
}
@@ -1,17 +1,5 @@
terraform {
required_providers {
pass = {
source = "camptocamp/pass"
}
digitalocean = {
source = "digitalocean/digitalocean"
}
postgresql = {
source = "cyrilgdn/postgresql"
}
cloudflare = {
source = "cloudflare/cloudflare"
}
docker = {
source = "kreuzwerker/docker"
}
@@ -1,11 +1,0 @@
/* TEAM */
Captain: Nemo (Abhay Rana)
Contact: git [at] captnemo.in
Twitter: @captn3m0
/* SITE */
Last update: Feb 2018
Language: English
IDE: Sublime Text, Vim
Runs-On: Docker
Details: https://git.captnemo.in/nemo/nebula/
@@ -1,8 +1,0 @@
; Uncomment these lines to change PHP parameters if you are using PHP with CGI or FastCGI. Only works with PHP starting from 5.3.0.
; Note that with FastCGI, you might also want to set FcgidBusyTimeout, FcgidIOTimeout and FcgidMaxRequestLen in your Apache config
max_execution_time = 200
post_max_size = 200M
upload_max_size = 200M
upload_max_filesize = 50M
max_file_uploads = 200
@@ -281,7 +281,7 @@
ENABLED = true
[oauth2]
ENABLE = false
ENABLED = false
; this is same as JWT secret above
JWT_SECRET = "${oauth2-jwt-secret}"
@@ -1,36 +1,0 @@
{{template "base/head" .}}
<div class="home">
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>
<img class="logo" src="{{AppSubUrl}}/img/gitea-lg.png" />
</div>
<div class="hero">
<h1 class="ui icon header title">
Nemo's Code
</h1>
<h2>under-the-tv code hosting service</h2>
</div>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="eight wide center column">
<h1 class="hero ui icon header">
<i class="octicon octicon-rocket"></i>
Run by friends
</h1>
<p class="large">
This service is run by <a href="https://captnemo.in">Nemo</a>
</p>
</div>
<div class="eight wide center column">
<h1 class="hero ui icon header">
<i class="octicon octicon-flame"></i> Uptime not guaranteed
</h1>
<p class="large">
Run for fun and not profit.
</p>
</div>
</div>
</div>
{{template "base/footer" .}}
@@ -1,26 +1,0 @@
User-agent: MJ12bot
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: SemrushBot-SA
Disallow: /
User-agent: rogerbot
Disallow:/
User-agent: dotbot
Disallow:/
User-agent: AhrefsBot
Disallow: /
User-agent: Alexibot
Disallow: /
User-agent: SurveyBot
Disallow: /
User-agent: Xenu’s
Disallow: /
User-agent: Xenu’s Link Sleuth 1.1c
Disallow: /
User-agent: AhrefsBot
Disallow: /
User-Agent: ImagesiftBot
Disallow: /
User-Agent: YandexBot
Disallow: /
@@ -1,0 +1,11 @@
/* TEAM */
Captain: Nemo (Abhay Rana)
Contact: git [at] captnemo.in
Twitter: @captn3m0
/* SITE */
Last update: Feb 2018
Language: English
IDE: Sublime Text, Vim
Runs-On: Docker
Details: https://git.captnemo.in/nemo/nebula/
@@ -1,26 +1,53 @@
User-agent: AhrefsBot
User-agent: AI2Bot
User-agent: Ai2Bot-Dolma
User-agent: Alexibot
User-agent: Amazonbot
User-agent: anthropic-ai
User-agent: Applebot
User-agent: Applebot-Extended
User-agent: Bytespider
User-agent: CCBot
User-agent: ChatGPT-User
User-agent: Claude-Web
User-agent: ClaudeBot
User-agent: cohere-ai
User-agent: Diffbot
User-agent: dotbot
User-agent: FacebookBot
User-agent: facebookexternalhit
User-agent: FriendlyCrawler
User-agent: Google-Extended
User-agent: GoogleOther
User-agent: GoogleOther-Image
User-agent: GoogleOther-Video
User-agent: GPTBot
User-agent: iaskspider/2.0
User-agent: ICC-Crawler
User-Agent: ImagesiftBot
User-agent: ImagesiftBot
User-agent: img2dataset
User-agent: ISSCyberRiskCrawler
User-agent: Kangaroo Bot
User-agent: Meta-ExternalAgent
User-agent: Meta-ExternalFetcher
User-agent: MJ12bot
Disallow: /
User-agent: OAI-SearchBot
User-agent: omgili
User-agent: omgilibot
User-agent: PerplexityBot
User-agent: PetalBot
User-agent: rogerbot
User-agent: Scrapy
User-agent: SemrushBot
Disallow: /
User-agent: SemrushBot-SA
Disallow: /
User-agent: rogerbot
Disallow:/
User-agent: dotbot
Disallow:/
User-agent: AhrefsBot
Disallow: /
User-agent: Alexibot
Disallow: /
User-agent: Sidetrade indexer bot
User-agent: SurveyBot
Disallow: /
User-agent: Timpibot
User-agent: VelenPublicWebCrawler
User-agent: Webzio-Extended
User-agent: Xenu’s
Disallow: /
User-agent: Xenu’s Link Sleuth 1.1c
Disallow: /
User-agent: AhrefsBot
Disallow: /
User-Agent: ImagesiftBot
Disallow: /
User-Agent: YandexBot
User-agent: YouBot
Disallow: /