chore(forgejo): add ephemeral disk configuration and bind mount for Docker
All checks were successful
Terraform Plan and Apply / cicd (push) Successful in 1m55s
Lint / lint (push) Successful in 1m22s

This commit is contained in:
Ben Martin 2025-02-24 15:00:57 +00:00
parent dd5a2d77c3
commit aee763b9ee
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -192,6 +192,11 @@ job "forgejo" {
}
}
ephemeral_disk {
migrate = true
size = 10000
}
task "docker-in-docker" {
driver = "docker"
@ -201,6 +206,12 @@ job "forgejo" {
command = "dockerd"
args = ["-H=tcp://0.0.0.0:2375", "--tls=false"]
mount {
type = "bind"
source = "local"
target = "/var/lib/docker"
}
}
resources {