Skip to content

guipguia/drone-ci-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

This is a simple docker-compose and config files to setup and start drone-ci with docker. Im using this with an nginx server doing a proxy to http drone server. SSL and https conection are only from the nginx server side to the web. Inside proxy will use http. You can setup this to use https, but in most cases i don't see a reason why you must do it.

Getting Started

At this point im assuming you have docker installed and running on a vps/server. And a nginx server runing on this machine.

Prerequisites

If you don't please visit get docker

Installation

  1. Install docker-compose

  2. Clone the repo

    git clone https://github.com/gpguia/drone-ci-setup.git
  3. Setup your nginx server, click here to see how.

  4. Setup .env.template file, for more info please read commentaries inside the file.

  5. Make sure to export those variables or just replace it directly in docker-compose.yml file

  6. Start docker images using Detached mode (-d):

    docker-compose up -d

Usage

If you follow those steps, you should be able to login using github credentials by accessing your DRONE_SERVER_HOST variable.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Guilherme guia - @guipguia - [email protected]

About

Simple docker-compose to start drone-ci

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published