feat: change drone's runner of docker config
This commit is contained in:
parent
1e5556d552
commit
2e3354c138
@ -33,22 +33,26 @@ services:
|
|||||||
- postgresql
|
- postgresql
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
- database
|
||||||
drone-runner-docker:
|
drone-runner-docker:
|
||||||
image: drone/drone-runner-docker:1
|
image: drone/drone-runner-docker:1
|
||||||
ports:
|
|
||||||
"3000:3000"
|
|
||||||
environment:
|
environment:
|
||||||
- "DRONE_RPC_HOST=${DRONE_SERVER_HOST}"
|
- "DRONE_RPC_HOST=${DRONE_SERVER_HOST}"
|
||||||
- "DRONE_RPC_PROTO=${DRONE_SERVER_PROTO}"
|
- "DRONE_RPC_PROTO=${DRONE_SERVER_PROTO}"
|
||||||
- "DRONE_RPC_SECRET=${DRONE_RPC_SECRET}"
|
- "DRONE_RPC_SECRET=${DRONE_RPC_SECRET}"
|
||||||
- "DRONE_RUNNER_CAPACITY=${DRONE_RUNNER_CAPACITY}"
|
- "DRONE_RUNNER_CAPACITY=${DRONE_RUNNER_CAPACITY}"
|
||||||
- "DRONE_RUNNER_NAME=${DRONE_RUNNER_DOCKER_NAME}}"
|
- "DRONE_RUNNER_NAME=${DRONE_RUNNER_DOCKER_NAME}"
|
||||||
- "DRONE_UI_USERNAME=${DRONE_UI_USERNAME}"
|
- "DRONE_UI_USERNAME=${DRONE_UI_USERNAME}"
|
||||||
- "DRONE_UI_PASSWORD=${DRONE_UI_PASSWORD}"
|
- "DRONE_UI_PASSWORD=${DRONE_UI_PASSWORD}"
|
||||||
- "DRONE_DEBUG=true"
|
- "DRONE_DEBUG=true"
|
||||||
- "DRONE_TRACE=true"
|
- "DRONE_TRACE=true"
|
||||||
- "DRONE_RPC_DUMP_HTTP=true"
|
- "DRONE_RPC_DUMP_HTTP=true"
|
||||||
- "DRONE_RPC_DUMP_HTTP_BODY=true"
|
- "DRONE_RPC_DUMP_HTTP_BODY=true"
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.drone-runner-docker.rule=Host(`${DRONE_RUNNER_DOCKER_HOST}`)"
|
||||||
|
- "traefik.http.routers.drone-runner-docker.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.drone-runner-docker.tls=true"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
networks:
|
networks:
|
||||||
@ -56,3 +60,5 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
|
database:
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user