compose/gitea/compose.yaml

24 lines
607 B
YAML

services:
gitea:
image: gitea/gitea:1.17.3
container_name: gitea
restart: unless-stopped
networks:
- traefik_proxy
environment:
USER_UID: "993"
USER_GID: "993"
volumes:
- /var/docker/gitea/data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
labels:
traefik.enable: "true"
traefik.http.routers.gitea.entrypoints: "https"
traefik.http.routers.gitea.rule: "Host(`git.fanyx.xyz`)"
traefik.http.services.gitea.loadbalancer.server.port: "3000"
networks:
traefik_proxy:
name: traefik_proxy