Files
ServerKit/backend/templates/gitea.yaml
T
Juan Denis 3ca6bd23a9 Update template icons and enhance sidebar user menu
Switched all template icon URLs to use local /serverkit.ai/imgs/template-icons/ assets for consistency and reliability. Improved the Sidebar component with a new user context menu featuring theme switching, settings navigation, and logout, along with conditional display of the WordPress pipeline link. Added and updated related styles for the sidebar, user menu, and page headers, and introduced new theme variables for code/terminal backgrounds.
2026-01-27 20:53:57 -05:00

84 lines
1.9 KiB
YAML

id: gitea
name: Gitea
version: "1.21"
description: Lightweight self-hosted Git service
icon: https://serverkit.ai/imgs/template-icons/gitea.svg
categories:
- devops
- git
- development
website: https://gitea.io
documentation: https://docs.gitea.io
variables:
- name: HTTP_PORT
type: port
default: "3000"
hidden: true
description: Port for web interface
- name: SSH_PORT
type: port
default: "2222"
hidden: true
description: Port for SSH access
- name: DB_PASSWORD
type: password
length: 24
description: Database password
- name: SECRET_KEY
type: random
length: 32
description: Internal secret key
compose:
services:
app:
image: gitea/gitea:1.21
container_name: ${APP_NAME}
restart: unless-stopped
ports:
- "${HTTP_PORT}:3000"
- "${SSH_PORT}:22"
environment:
USER_UID: 1000
USER_GID: 1000
GITEA__database__DB_TYPE: postgres
GITEA__database__HOST: gitea-db:5432
GITEA__database__NAME: gitea
GITEA__database__USER: gitea
GITEA__database__PASSWD: "${DB_PASSWORD}"
GITEA__security__SECRET_KEY: "${SECRET_KEY}"
volumes:
- gitea-data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- gitea-db
gitea-db:
image: postgres:15-alpine
container_name: ${APP_NAME}-db
restart: unless-stopped
environment:
POSTGRES_USER: gitea
POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: gitea
volumes:
- gitea-db-data:/var/lib/postgresql/data
volumes:
gitea-data:
gitea-db-data:
ports:
- port: "${HTTP_PORT}"
protocol: http
description: Web Interface
- port: "${SSH_PORT}"
protocol: ssh
description: Git SSH
requirements:
memory: 512MB
storage: 5GB