Change web port to 31337

This commit is contained in:
2026-03-09 12:51:27 +08:00
parent 24c3ce30dd
commit 6d85eda7e1
4 changed files with 13 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(git remote add origin 192.168.88.81:/Users/timmy/88_81/gitea && git remote -v)"
]
}
}

View File

@@ -4,8 +4,8 @@
## 服務訪問 ## 服務訪問
- **Web 界面**: http://localhost:3000 - **Web 界面**: http://localhost:31337
- **SSH Git**: localhost:222 - **SSH Git**: localhost:2222
## 常用命令 ## 常用命令

View File

@@ -17,5 +17,5 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "3000:3000" - "31337:3000"
- "222:22" - "2222:22"

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
docker-compose up -d docker-compose up -d
echo "Gitea 已啟動!" echo "Gitea 已啟動!"
echo "Web 界面: http://localhost:3000" echo "Web 界面: http://localhost:31337"
echo "SSH Git: localhost:222" echo "SSH Git: localhost:2222"