Files
ServerKit/backend/templates/drone.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

82 lines
2.0 KiB
YAML

id: drone
name: Drone CI
version: "2.22"
description: Container-native continuous integration platform with simple pipeline configuration
icon: https://serverkit.ai/imgs/template-icons/drone.svg
website: https://www.drone.io
documentation: https://docs.drone.io
categories:
- devops
- ci-cd
- docker
variables:
- name: HTTP_PORT
description: HTTP port
type: port
default: "8080"
hidden: true
- name: GITEA_SERVER
description: Gitea server URL (e.g., https://gitea.example.com)
required: true
- name: GITEA_CLIENT_ID
description: Gitea OAuth client ID
required: true
- name: GITEA_CLIENT_SECRET
description: Gitea OAuth client secret
type: password
required: true
- name: RPC_SECRET
description: RPC secret for runner communication
type: password
generate: password
- name: SERVER_HOST
description: Drone server host (e.g., drone.example.com)
required: true
ports:
- port: 8080
protocol: tcp
description: Web interface
volumes:
- name: data
path: /data
description: Drone data
compose:
services:
drone:
image: drone/drone:${VERSION:-2.22}
container_name: ${APP_NAME}
restart: unless-stopped
environment:
- DRONE_GITEA_SERVER=${GITEA_SERVER}
- DRONE_GITEA_CLIENT_ID=${GITEA_CLIENT_ID}
- DRONE_GITEA_CLIENT_SECRET=${GITEA_CLIENT_SECRET}
- DRONE_RPC_SECRET=${RPC_SECRET}
- DRONE_SERVER_HOST=${SERVER_HOST}
- DRONE_SERVER_PROTO=https
volumes:
- drone_data:/data
ports:
- "${HTTP_PORT}:80"
drone-runner:
image: drone/drone-runner-docker:1
container_name: ${APP_NAME}-runner
restart: unless-stopped
environment:
- DRONE_RPC_PROTO=http
- DRONE_RPC_HOST=drone
- DRONE_RPC_SECRET=${RPC_SECRET}
- DRONE_RUNNER_CAPACITY=2
- DRONE_RUNNER_NAME=${APP_NAME}-runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- drone
volumes:
drone_data: