1 Star 1 Fork 0

野山菌/Drone-Gitea-Unity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
野山菌 提交于 2022-09-11 20:22 . init
version: "2"
services:
drone:
image: drone/drone:latest
container_name: drone
environment:
- DRONE_AGENTS_ENABLED=true
- DRONE_SERVER_HOST=http://127.0.0.1:80
- DRONE_SERVER_PROTO=http
- DRONE_RPC_SECRET=148f5cc6d1e0498a24a5b192af83c0cb
- DRONE_GITEA_SERVER=http://127.0.0.1:3000
- DRONE_GITEA_CLIENT_ID=bb68d00c-2e0d-44ef-a2e3-91d38653456d
- DRONE_GITEA_CLIENT_SECRET=E6eIHI6RXiNViB6l2IRuMlByKwYF33lyNh8kUWSAUsjL
- DRONE_USER_CREATE=username:windys,admin:true
privileged: true
volumes:
- /media/windys/DATA/GitDATA:/data
- ./ssl:/etc/certs
restart: always
network_mode: host
# drone-runner:
# image: drone/drone-runner-docker:latest
# container_name: drone-runner
# restart: always
# depends_on:
# - drone
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock:rw
# environment:
# - DRONE_RPC_PROTO=http
# - DRONE_RPC_HOST=127.0.0.1
# - DRONE_RPC_SECRET=148f5cc6d1e0498a24a5b192af83c0cb
# - DRONE_HTTP_BIND=:3003
# # - DRONE_HTTP_HOST=http://127.0.0.1:3003
# - DRONE_HTTP_PROTO=http
# - DRONE_RUNNER_NAME=demo- drone-runner
# - DRONE_RUNNER_CAPACITY=2
# # dns: 114.114.114.114
# network_mode: host
# # ports:
# # - 3003:3000
postgres:
container_name: postgres
image: bitnami/postgresql:14
privileged: true
restart: always
environment:
- POSTGRES_PASSWORD=password
volumes:
- /media/windys/DATA/GitDATA:/var/lib/postgresql/data
network_mode: host
# ports:
# - 5432:5432
gitea:
image: gitea/gitea:latest
container_name: gitea
privileged: true
depends_on:
- postgres
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
- /media/windys/DATA/GitDATA:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
network_mode: host
# ports:
# - 3000:3000
# - 22:22
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
YAML
1
https://gitee.com/chaloongjir/drone-gitea-unity.git
[email protected]:chaloongjir/drone-gitea-unity.git
chaloongjir
drone-gitea-unity
Drone-Gitea-Unity
master

搜索帮助