代码拉取完成,页面将自动刷新
version: "3.7"
#
# This file override docker-compose.yml
#
x-ci:
&production
environment:
- DRONE_GITHUB=true
- DRONE_OPEN=${DRONE_OPEN:-false}
- DRONE_HOST=http://khs1994.jios.org:18000
- DRONE_SECRET=${DRONE_SECRET}
- DRONE_ADMIN=khs1994,khs1994-merge-robot
#
- DRONE_GITHUB_CLIENT=${DRONE_GITHUB_CLIENT_TEST}
- DRONE_GITHUB_SECRET=${DRONE_GITHUB_SECRET_TEST}
#
- DRONE_DATABASE_DRIVER=mysql
- DRONE_DATABASE_DATASOURCE=root:mytest@tcp(mysql:3306)/gogs?parseTime=true
x-gogs:
&gogs
environment:
- DRONE_GOGS=true
- DRONE_OPEN=${DRONE_OPEN:-false}
- DRONE_HOST={{ DRONE_HOST }}
- DRONE_SECRET=${DRONE_SECRET}
#
- DRONE_GOGS_URL={{ DRONE_GOGS_URL }}
- DRONE_GOGS_PRIVATE_MODE=${DRONE_GOGS_PRIVATE_MODE:-true}
x-github:
&github
environment:
- DRONE_GITHUB=true
- DRONE_OPEN=false
- DRONE_HOST={{ DRONE_HOST }}
- DRONE_SECRET=${DRONE_SECRET}
#
- DRONE_ADMIN=${DRONE_ADMIN}
- DRONE_GITHUB_CLIENT=${DRONE_GITHUB_CLIENT}
- DRONE_GITHUB_SECRET=${DRONE_GITHUB_SECRET}
# Don't use this config
x-coding:
&coding
environment:
- DRONE_CODING=true
- DRONE_OPEN=false
- DRONE_HOST={{ DRONE_HOST }}
- DRONE_SECRET=${DRONE_SECRET}
#
- DRONE_CODING_CLIENT=${DRONE_CODING_CLIENT}
- DRONE_CODING_SECRET=${DRONE_CODING_SECRET}
x-gitlab:
&gitlab
environment:
- DRONE_GITLAB=true
- DRONE_OPEN=false
- DRONE_HOST={{ DRONE_HOST }}
- DRONE_SECRET=${DRONE_SECRET}
#
- DRONE_GITLAB_CLIENT=${DRONE_GITLAB_CLIENT}
- DRONE_GITLAB_SECRET=${DRONE_GITLAB_SECRET}
- DRONE_GITLAB_URL={{ DRONE_GITLAB_URL }}
services:
drone-server:
<< : *gogs
# << : *github
# << : *gitlab
# << : *coding
# << : *production
# networks:
# backend:
# external: true
# name: lnmp_backend
# frontend:
# external: true
# name: lnmp_frontend
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。