docker_gitea/docker-compose.yaml

26 lines
498 B
YAML
Raw Normal View History

2023-02-28 20:43:05 +00:00
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:1.18.5
container_name: gitea
environment:
- USER_UID=895
- USER_GID=895
2023-02-28 22:30:00 +00:00
- GITEA__server__ROOT_URL=https://blacka.com/git
2023-02-28 20:43:05 +00:00
restart: always
networks:
- gitea
volumes:
- ./data:/data
2023-02-28 22:30:00 +00:00
- /var/lib/gitea/.ssh:/data/git/.ssh
2023-02-28 20:43:05 +00:00
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
2023-02-28 22:30:00 +00:00
- "2222:22"