updated: 2024-11-27 10:40:29

This commit is contained in:
qxsugar 2024-11-27 10:40:29 +08:00
parent a038b65ee7
commit f2d6d3ee52
1 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,11 @@ services:
restart: always restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
deploy:
resources:
limits:
cpus: '4'
memory: 8192M
drone-runner: drone-runner:
container_name: drone-runner container_name: drone-runner
@ -34,3 +39,8 @@ services:
DRONE_DATABASE_DATASOURCE: root:rG8tAxtM9Js3@tcp(172.17.0.6:3306)/drone?parseTime=true DRONE_DATABASE_DATASOURCE: root:rG8tAxtM9Js3@tcp(172.17.0.6:3306)/drone?parseTime=true
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
deploy:
resources:
limits:
cpus: '4'
memory: 8192M