diff --git a/ops/gitea/compose.yaml b/ops/gitea/compose.yaml new file mode 100644 index 0000000..583c193 --- /dev/null +++ b/ops/gitea/compose.yaml @@ -0,0 +1,25 @@ +name: filepilot-gitea + +services: + gitea: + image: docker.gitea.com/gitea:1.27.3-rootless + container_name: filepilot-gitea + restart: unless-stopped + environment: + GITEA__database__DB_TYPE: sqlite3 + GITEA__database__PATH: /var/lib/gitea/data/gitea.db + GITEA__server__DOMAIN: localhost + GITEA__server__ROOT_URL: http://localhost:3000/ + GITEA__server__HTTP_PORT: 3000 + GITEA__server__DISABLE_SSH: "true" + GITEA__service__DISABLE_REGISTRATION: "false" + ports: + - "127.0.0.1:3000:3000" + volumes: + - gitea-data:/var/lib/gitea + - gitea-config:/etc/gitea + +volumes: + gitea-data: + gitea-config: +