This commit is contained in:
orion kindel
2025-08-05 16:27:14 -05:00
parent c20dae095b
commit 874e9471e4
3 changed files with 8 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ HTTP_PORT = 3000
DISABLE_SSH = false DISABLE_SSH = false
START_SSH_SERVER = true START_SSH_SERVER = true
SSH_PORT = 22 SSH_PORT = 22
SSH_LISTEN_PORT = 22 SSH_LISTEN_PORT = 2222
LFS_START_SERVER = true LFS_START_SERVER = true
LFS_JWT_SECRET = <SECRET> LFS_JWT_SECRET = <SECRET>
OFFLINE_MODE = false OFFLINE_MODE = false

View File

@@ -4,9 +4,9 @@ machine() {
fly m list -q | head -n 1 | xargs fly m list -q | head -n 1 | xargs
} }
fly m destroy "$(machine)" --force fly m destroy "$(machine)" --force;
fly m create gitea/gitea:1.24.3 --entrypoint "/bin/bash -c 'until false; do sleep 10; done;'" -v 'vol_4qgx8jxjq7p35znv:/data' fly m create gitea/gitea:1.24.3 --entrypoint "/bin/bash -c 'until false; do sleep 10; done;'" -v 'vol_4qgx8jxjq7p35znv:/data';
fly m start "$(machine)" fly m start "$(machine)";
fly ssh console fly ssh console;
fly m destroy "$(machine)" --force fly m destroy "$(machine)" --force;
fly deploy fly deploy;

View File

@@ -26,7 +26,7 @@ timeout = "10s"
path = "/" path = "/"
[[services]] [[services]]
internal_port = 222 internal_port = 2222
protocol = "tcp" protocol = "tcp"
[[services.ports]] [[services.ports]]