Update Gitea/gitea.yml
This commit is contained in:
1 parent
03b5fa3f3f
commit
36d7d6b65f
1 file changed
+10
-4
+10
-4
@@ -7,16 +7,22 @@ services:
|
|||||||
image: docker.gitea.com/gitea:28.0.0
|
image: docker.gitea.com/gitea:28.0.0
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1012
|
- USER_UID=1000
|
||||||
- USER_GID=1012
|
- USER_GID=1000
|
||||||
- GITEA__server__ROOT_URL=https://git.szrvol-02.netcraze.pro/
|
- GITEA__server__ROOT_URL=https://git.szrvol-02.netcraze.pro/
|
||||||
|
- GITEA__server__DOMAIN=git.szrvol-02.netcraze.pro
|
||||||
|
- GITEA__server__DISABLE_SSH=true # <-- ДОБАВЛЕНО: скрывает SSH из интерфейса
|
||||||
|
- GITEA__security__REVERSE_PROXY_LIMIT=1
|
||||||
|
- GITEA__security__REVERSE_PROXY_TRUSTED_PROXIES=*
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
- /Volume1/docker/git/data:/data
|
- /opt/docker/git/data:/data
|
||||||
|
- /opt/docker/git/config:/config
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- "3003:3000"
|
- "3006:3000"
|
||||||
|
# Порт 2002 можно оставить для локальной сети, но извне он не доступен
|
||||||
- "2002:22"
|
- "2002:22"
|
||||||
Reference in new issue
Block a user