Update Gitea; Fix typo;
This commit is contained in:
1 parent
8a9638fbcc
commit
0bfdb35014
1 file changed
+2
-2
@@ -34,7 +34,7 @@ in
|
|||||||
|
|
||||||
config = mkIf rootCfg.enable {
|
config = mkIf rootCfg.enable {
|
||||||
virtualisation.oci-containers.containers."${cfg.name}" = {
|
virtualisation.oci-containers.containers."${cfg.name}" = {
|
||||||
image = "gitea/gitea:1.27.2";
|
image = "docker.io/gitea/gitea:28.2.0";
|
||||||
ports = [
|
ports = [
|
||||||
"0.0.0.0:${toString cfg.hostWebPort}:3000"
|
"0.0.0.0:${toString cfg.hostWebPort}:3000"
|
||||||
"0.0.0.0:${toString cfg.hostSshPort}:2222"
|
"0.0.0.0:${toString cfg.hostSshPort}:2222"
|
||||||
@@ -82,7 +82,7 @@ in
|
|||||||
if ${pkgs.curl}/bin/curl -sf http://127.0.0.1:${toString cfg.hostWebPort}/api/v1/version >/dev/null 2>&1; then
|
if ${pkgs.curl}/bin/curl -sf http://127.0.0.1:${toString cfg.hostWebPort}/api/v1/version >/dev/null 2>&1; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
echo "Waiting for Gitea to be ready... ($i/20)"
|
echo "Waiting for Gitea to be ready... ($i/30)"
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user