Установка Drone в Docker
Файл docker-compose.yml (настроен для совместной установки с Gitea)
--------------------------------------------------------
version: '3.8'
services:
drone:
image: drone/drone:latest
container_name: drone
environment:
- DRONE_GITEA_SERVER=http://gitea:3000
- DRONE_RPC_SECRET=mysecretdronetoken
- DRONE_SERVER_HOST=drone.local
- DRONE_SERVER_PROTO=http
ports:
- "8080:80"
depends_on:
- gitea
restart: always
drone-runner:
image: drone/drone-runner-docker:latest
container_name: drone-runner
environment:
- DRONE_RPC_HOST=drone
- DRONE_RPC_PROTO=http
- DRONE_RPC_SECRET=mysecretdronetoken
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
networks:
default:
name: dev-net
No Comments