chore: downgrade gitea server image to 1.22.3 and restrict ssh port binding to localhost

This commit is contained in:
root 2024-12-15 23:58:17 +00:00
parent b5ad6c2b10
commit 2c1ccc5f1d

View File

@ -6,7 +6,7 @@ networks:
services:
server:
image: gitea/gitea:1.22.4
image: gitea/gitea:1.22.3
container_name: tea
environment:
- USER_UID=1000
@ -20,4 +20,4 @@ services:
- /etc/localtime:/etc/localtime:ro
ports:
- "127.0.0.1:8082:3000"
- "0.0.0.0:2222:22"
- "127.0.0.1:222:22"