代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。