This commit is contained in:
parent
36fc29fcea
commit
1f497716c3
BIN
docs/images/drone/drone01.png
Normal file
BIN
docs/images/drone/drone01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
50
docs/portainer-stacks/Drone.md
Normal file
50
docs/portainer-stacks/Drone.md
Normal file
@ -0,0 +1,50 @@
|
||||
Portainer Stack:
|
||||
```
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
drone:
|
||||
container_name: drone
|
||||
image: drone/drone:2
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DRONE_GITEA_SERVER=
|
||||
- DRONE_GITEA_CLIENT_ID=
|
||||
- DRONE_GITEA_CLIENT_SECRET=
|
||||
- DRONE_RPC_SECRET=
|
||||
- DRONE_SERVER_HOST=
|
||||
- DRONE_SERVER_PROTO=https
|
||||
- DRONE_USER_CREATE=username:myUsername,admin:true
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /drone/data:/data
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
drone_runner:
|
||||
container_name: drone_runner
|
||||
image: drone/drone-runner-docker:1
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DRONE_GITEA_SERVER=
|
||||
- DRONE_RPC_PROTO=https
|
||||
- DRONE_RPC_HOST=
|
||||
- DRONE_RPC_SECRET=
|
||||
- DRONE_RUNNER_CAPACITY=2
|
||||
- DRONE_RUNNER_NAME=drone_runner
|
||||
- DRONE_RUNNER_SECRETS=docker_username:myUsername,docker_password:myPassword
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 3000:3000
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
- hide_container=true
|
||||
```
|
||||
|
||||
[Drone Documentation](https://docs.drone.io/) is very detailed and well constructed.
|
||||

|
@ -76,6 +76,7 @@ nav:
|
||||
- Authelia: portainer-stacks/authelia.md
|
||||
- Bazarr: portainer-stacks/bazarr.md
|
||||
- BitWarden: portainer-stacks/bitwarden.md
|
||||
- Drone: portainer-stacks/Drone.md
|
||||
- Gitea: portainer-stacks/Gitea.md
|
||||
- Heimdall: portainer-stacks/heimdall.md
|
||||
- Jellyfin: portainer-stacks/jellyfin.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user