• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language Jinja
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Drone Continuous Delivery Documentation using docker-compose

drone-tutorial

Drone Continuous Delivery Documentation

Install Drone with GitHub

version: '2'

services:
  drone-server:
    image: drone/drone:1
    ports:
      - 8081:80
    volumes:
      - ./:/data
    restart: always
    environment:
      - DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
      - DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO}
      - DRONE_RPC_SECRET=${DRONE_RPC_SECRET}

      # GitHub Config
      - DRONE_GITHUB_SERVER=https://github.com
      - DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID}
      - DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}

      - DRONE_LOGS_PRETTY=true
      - DRONE_LOGS_COLOR=true

  # runner for docker version
  drone-runner:
    image: drone/drone-runner-docker:1
    restart: always
    depends_on:
      - drone-server
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_RPC_HOST=${DRONE_RPC_HOST}
      - DRONE_RPC_PROTO=${DRONE_RPC_PROTO}
      - DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
      - DRONE_RUNNER_CAPACITY=3

Install Drone with GitLab

version: '2'

services:
  drone-server:
    image: drone/drone:1
    ports:
      - 8081:80
    volumes:
      - ./:/data
    restart: always
    environment:
      - DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
      - DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO}
      - DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
      # Gitlab Config
      - DRONE_GITLAB_SERVER=https://gitlab.com
      - DRONE_GITLAB_CLIENT_ID=${DRONE_GITLAB_CLIENT_ID}
      - DRONE_GITLAB_CLIENT_SECRET=${DRONE_GITLAB_CLIENT_SECRET}
      - DRONE_LOGS_PRETTY=true
      - DRONE_LOGS_COLOR=true

  # runner for docker version
  drone-runner:
    image: drone/drone-runner-docker:1
    restart: always
    depends_on:
      - drone-server
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_RPC_HOST=${DRONE_RPC_HOST}
      - DRONE_RPC_PROTO=${DRONE_RPC_PROTO}
      - DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
      - DRONE_RUNNER_CAPACITY=3

Git Service Configutation

More Repositories

1

training

Learning Golang one day
HTML
1,411
star
2

go-transaction-example

Included examples to guide how to make transaction on Mongodb using Golang.
Go
51
star
3

drone-nodejs-example

node.js example for Drone CI/CD
JavaScript
38
star
4

drone-laravel-example

Drone CI/CD with Laravel Framework
PHP
33
star
5

grpc-health-check

How to write grpc health check interface.
Go
33
star
6

golang-private-module

Go Modules with Private GIT Repository
Dockerfile
25
star
7

drone-golang-example

Golang example with drone service
Go
19
star
8

helloworld

Hello World for Golang
Go
14
star
9

opa-restful

Setup REST API with Open Policy Agent
Open Policy Agent
14
star
10

opa-embed

Open Policy Agent Demo for Embed file in Go
Open Policy Agent
13
star
11

gitea-docker

Installation Gitea with Docker
11
star
12

workshop-20201125

Go 語言基礎實戰
Go
9
star
13

workshop-20201111

Go 語言基礎實戰教學
Go
8
star
14

performance

compare the performance of Node, Go and Python
JavaScript
8
star
15

docker-buildkit-demo

Docker Build is one of the most used features of the Docker Engine
Go
8
star
16

gitea-workshop

Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.
7
star
17

drone-cache-demo

DroneCI caching guide
Go
7
star
18

simple-reverse-proxy

Simple Reverse Proxy using Golang
Go
7
star
19

elasticsearch-demo

elasticsearch api with golang
Go
6
star
20

workshops

Golang for one day workshop
Go
6
star
21

workshop-20230602

Go
6
star
22

drone-lambda-demo

How to deploy lambda application using GitHub Actions, Drone or GitLab CI
Go
5
star
23

infrastructure-as-code-workshop

some tools I want to share to anybody
HCL
5
star
24

golang-in-ecr-ecs

Run your container in AWS Fargate
Makefile
5
star
25

facebook-account-kit

Facebook Account Kit using Golang
Go
5
star
26

vue-gh-pages-demo

deploy Vue.js app to GitHub Pages using drone in five minutes
Vue
4
star
27

line-login

Trying LINE Login on a web app using Golang
Go
4
star
28

proto-go-sample

Sample Code for proto connect.
Go
3
star
29

workshop-20220520

Go
3
star
30

workshop-20200817

workshop in 20200817
Go
3
star
31

opa-demo

demo Rego language
Open Policy Agent
3
star
32

workshop-20200831

Web application
Go
3
star
33

docker-in-github-actions-vs-drone

docker build in GitHub Actions vs Drone CI/CD
Dockerfile
2
star
34

proto-def-demo

An example service built with Connect.
Makefile
2
star
35

cicd-workshop-cht

CI/CD workshop
Go
2
star
36

k8s-example

2
star
37

graphql-upload-example

Middleware and an Upload scalar to add support for GraphQL multipart requests example
2
star
38

proto-openapiv2-demo

Go
2
star
39

age-encryption-demo

Age is a simple, modern and secure encryption tool
Go
1
star
40

drone-git-push-example

1
star
41

go-nsq-example

example code for NSQ (A realtime distributed messaging platform)
1
star
42

workshop-20220527

Go
1
star
43

drone-bash-plugin

Example Bash Plugin for Drone CI/CD service.
Dockerfile
1
star
44

proto-python-demo

Python
1
star
45

workshop-20230519

Go
1
star
46

docker-demo

Dockerfile demo
Go
1
star
47

terraform-gcp-example

HCL
1
star