services: drone: use drone-runner instead of drone-agent
I also changed the capacity to run a few more pipelines at the same time.
This commit is contained in:
parent
23246cccae
commit
a2d9178cd8
|
@ -128,17 +128,17 @@ services:
|
|||
depends_on:
|
||||
- gitea
|
||||
|
||||
drone-agent:
|
||||
image: drone/agent:1
|
||||
container_name: drone-agent
|
||||
drone-runner:
|
||||
image: drone/drone-runner-docker:1
|
||||
container_name: drone-runner
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ./drone/drone-agent.env
|
||||
- ./drone/drone-agent.env.secret
|
||||
- ./drone/drone-runner.env
|
||||
- ./drone/drone-runner.env.secret
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 3030:3000
|
||||
expose:
|
||||
- 3000
|
||||
depends_on:
|
||||
- drone-server
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
DRONE_RPC_HOST=drone.belanyi.fr
|
||||
DRONE_RPC_PROTO=https
|
||||
DRONE_RUNNER_CAPACITY=5
|
||||
# Put into a secret environment file
|
||||
#DRONE_RPC_SECRET=FIXME-CHANGE-THIS
|
||||
#DRONE_UI_USERNAME=FIXME-CHANGE-THIS
|
||||
#DRONE_UI_PASSWORD=FIXME-CHANGE-THIS
|
Reference in a new issue