You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
619 B
YAML

# docker-compose.yml
# Docker Hub: https://hub.docker.com/r/gitea/gitea
# Documentation: https://docs.gitea.io/en-us/
# The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT>
networks:
<NETWORK_NAME>:
external: true
services:
gitea:
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
image: gitea/gitea:<VERSION_TAG>
networks:
- <NETWORK_NAME>
ports:
- "3000:3000" # WebUI Port
- "2222:22" # SSH Port
restart: unless-stopped
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro