diff --git a/.docker-compose.yml.swp b/.docker-compose.yml.swp
new file mode 100644
index 000000000..dfa264925
Binary files /dev/null and b/.docker-compose.yml.swp differ
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 000000000..7c72e8f3a
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,22 @@
+networks:
+ gitea:
+ external: false
+
+services:
+ server:
+ image: gitea/gitea:latest
+ container_name: gitea
+ environment:
+ - USER_UID=1000
+ - USER_GID=1000
+ restart: always
+ networks:
+ - gitea
+ volumes:
+ - ./gitea:/data
+ - /home/git/.ssh/:/data/git/.ssh
+ - /etc/timezone:/etc/timezone:ro
+ - /etc/localtime:/etc/localtime:ro
+ ports:
+ - "127.0.0.1:3000:3000"
+ - "2222:22"
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index fed426a46..e3cac806a 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -13,8 +13,19 @@
{{template "base/footer_content" .}}
+
+{{if .EnableCaptcha}}
+ {{if eq .CaptchaType "recaptcha"}}
+
+ {{end}}
+ {{if eq .CaptchaType "hcaptcha"}}
+
+ {{end}}
+ {{if eq .CaptchaType "cfturnstile"}}
+
+ {{end}}
+{{end}}
-
- {{template "custom/footer" .}}
+{{template "custom/footer" .}}