31 lines
840 B
YAML
31 lines
840 B
YAML
networks:
|
|
gitea:
|
|
external: false
|
|
|
|
services:
|
|
server:
|
|
image: docker.gitea.com/gitea:28.0.0
|
|
container_name: gitea
|
|
environment:
|
|
- USER_UID=1014
|
|
- USER_GID=1014
|
|
- GITEA__server__ROOT_URL=https://git-01.szrvol-02.netcraze.pro/
|
|
- GITEA__server__DOMAIN=git-01.szrvol-02.netcraze.pro
|
|
- GITEA__server__DISABLE_SSH=false
|
|
- GITEA__server__SSH_PORT=2002
|
|
- GITEA__server__SSH_DOMAIN=git-01.szrvol-02.netcraze.pro
|
|
- GITEA__security__REVERSE_PROXY_LIMIT=1
|
|
- GITEA__security__REVERSE_PROXY_TRUSTED_PROXIES=*
|
|
- GITEA__actions__ENABLED=true
|
|
restart: always
|
|
networks:
|
|
- gitea
|
|
volumes:
|
|
- /Volume1/docker/gitea/data:/data
|
|
- /home/git_ea/.ssh:/data/git/.ssh
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "3006:3000"
|
|
- "2002:22"
|