Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

686 B
Raw Blame
# documentation: https://docs.gitea.com
# slogan: Gitea is a self-hosted, lightweight Git service, offering version control, collaboration, and code hosting.
# category: git
# tags: version control, collaboration, code, hosting, lightweight
# logo: svgs/gitea.svg

services:
  gitea:
    image: gitea/gitea:latest
    environment:
      - SERVICE_URL_GITEA_3000
      - USER_UID=1000
      - USER_GID=1000
    ports:
      - 22222:22
    volumes:
      - gitea-data:/data
      - gitea-timezone:/etc/timezone:ro
      - gitea-localtime:/etc/localtime:ro
    healthcheck:
      test: ["CMD", "curl", "-f", "http://127.0.0.1:3000"]
      interval: 2s
      timeout: 10s
      retries: 15