Mise à jour de 'drone/docker-compose.yml'

This commit is contained in:
Grégory Lebreton 2023-05-11 14:51:58 +02:00
parent 6f068e4396
commit 784a669639

View File

@ -39,8 +39,7 @@ services:
image: drone/drone-runner-docker:1.8.2
container_name: drone-runner
restart: always
depends_on:
- drone-server
depends_on: [ drone-server, drone-vault ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./drone-runner:/drone/src
@ -53,8 +52,12 @@ services:
- DRONE_RUNNER_NAME="drone-runner"
- DRONE_RUNNER_CAPACITY=2
- DRONE_RUNNER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
- DRONE_SECRET_PLUGIN_ENDPOINT=drone-vault:3003
- DRONE_SECRET_PLUGIN_TOKEN=${DRONE_SECRET}
# - DRONE_SECRET_PLUGIN_ENDPOINT=drone-vault:3003
# - DRONE_SECRET_PLUGIN_TOKEN=${DRONE_SECRET}
- DRONE_RPC_SERVER=https://drone-server:3001
- DRONE_SECRET_SECRET=734e405271785460ccdf97f0ebad7073
- DRONE_SECRET_ENDPOINT=http://drone-vault:3003
- DRONE_LOGS_TRACE=true
ports:
- "3002:3000"
networks:
@ -69,6 +72,15 @@ services:
- "3003:3000"
env_file:
- .env
environment:
- SECRET_KEY=734e405271785460ccdf97f0ebad7073
- VAULT_ADDR=http://0.0.0.0:3003
- VAULT_TOKEN_RENEWAL=8h
- VAULT_TOKEN_TTL=48h
- VAULT_TOKEN=be071b75-0000-ffff-eeee-fffeeeee0000
- DRONE_RPC_SERVER=https://drone-server:3001
- DRONE_RPC_SECRET=b1631ec6ccf4670e681a16476be8f014
- DEBUG=true
volumes:
drone-srv: