services: << service_name >>: image: gitea/gitea:latest container_name: << service_name >> environment: - TZ=<< timezone >> - USER_UID=<< puid >> - USER_GID=<< pgid >> - GITEA__database__DB_TYPE=sqlite3 - GITEA__server__ROOT_URL=<< root_url >> - GITEA__server__SSH_PORT=<< port_ssh >> volumes: - << appdata_dir >>/<< service_name >>:/data ports: - "<< port >>:3000" - "<< port_ssh >>:22" restart: unless-stopped