version: "3"
networks:
  gitea:
    external: false
services:
  server:
    image: docker.gitea.com/gitea:1.25.4
    container_name: gitea
    environment:
      - USER_UID=1000
      - USER_GID=1000
      - GITEA__server__DOMAIN=git.home.stoltz
      - GITEA__server__SSH_DOMAIN=git.home.stoltz
      - GITEA__server__ROOT_URL=http://git.home.stoltz
    restart: always
    networks:
      - gitea
    volumes:
      - ./gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 3000:3000
      - 222:22
x-dockge:
  urls:
    - http://git.home.stoltz
