加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.override.demo.yml 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
khs1994 提交于 2018-11-18 08:48 . Update README with lnmp
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化