setup drone runner
This commit is contained in:
parent
5f0d0cb503
commit
753e8f55ee
2 changed files with 14 additions and 1 deletions
|
@ -11,7 +11,7 @@ ansible-playbook setup.yml
|
|||
|
||||
詳しい構成は [setup.yml](setup.yml) を参照
|
||||
|
||||
## Drone Server
|
||||
## Drone Server & Runner
|
||||
|
||||
Gitea への導入
|
||||
: https://docs.drone.io/server/provider/gitea/
|
||||
|
|
13
compose.yml
13
compose.yml
|
@ -15,5 +15,18 @@ services:
|
|||
DRONE_SERVER_PROTO: ${DRONE_SERVER_PROTO:?}
|
||||
volumes:
|
||||
- drone_data_v2:/data
|
||||
|
||||
runner:
|
||||
image: drone/drone-runner-docker:1
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
environment:
|
||||
DRONE_RUNNER_NAME: default
|
||||
DRONE_RPC_PROTO: http
|
||||
DRONE_RPC_HOST: drone
|
||||
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
volumes:
|
||||
drone_data_v2:
|
||||
|
|
Reference in a new issue