diff --git a/apps/gitea/live.hcl b/apps/gitea/live.hcl index 432c661..5ad8c2e 100644 --- a/apps/gitea/live.hcl +++ b/apps/gitea/live.hcl @@ -47,6 +47,7 @@ job "gitea" { } restart { + interval = "10m" attempts = 5 delay = "30s" } @@ -89,7 +90,7 @@ job "gitea" { } resources { - cpu = 200 + cpu = 500 memory = 512 } diff --git a/apps/postgresql/live.hcl b/apps/postgresql/live.hcl index f9ef900..9e7d865 100644 --- a/apps/postgresql/live.hcl +++ b/apps/postgresql/live.hcl @@ -20,7 +20,7 @@ job "postgres" { } network { - mode = "host" + #mode = "host" port "postgres"{ static = 5432 } @@ -28,10 +28,10 @@ job "postgres" { service { name = "postgres" port = "postgres" - #tags = [ - # "traefik.enable=true", - # "traefik.tcp.routers.postgres.rule=Host(`postgres.service.nr5`)", - #] + tags = [ + "traefik.enable=true", + "traefik.tcp.routers.postgres.rule=Host(`postgres.service.nr5`)", + ] } task "postgres" { driver = "podman"