added role for "drone" CI/CD

This commit is contained in:
2023-02-02 17:11:37 +01:00
parent 52e4730510
commit 18297f5d16
7 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
version: "3"
services:
drone:
container_name: drone
image: drone/drone:latest
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
- /opt/docker/drone/data
environment:
- DRONE_GITEA_SERVER="{{ DRONE_GITEA_SERVER }}"
- DRONE_GITEA_CLIENT_ID="{{ DRONE_GITEA_CLIENT_ID }}"
- DRONE_GITEA_CLIENT_SECRET="{{ DRONE_GITEA_CLIENT_SECRET }}"
- DRONE_RPC_SECRET="{{ DRONE_RPC_SECRET }}"
- DRONE_SERVER_HOST="{{ DRONE_SERVER_HOST }}"
- DRONE_SERVER_PROTO=http