services: gitea: image: gitea/gitea:1.25.5 container_name: gitea restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=America/Los_Angeles volumes: - /mnt/storage/apps/gitea/data:/data ports: - "2223:22" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000"] interval: 30s timeout: 10s retries: 3 start_period: 30s deploy: resources: limits: memory: 1G cpus: '1.0' networks: - network networks: network: name: proxy external: true