Table of Contents
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.
At this point im assuming you have docker installed and running on a vps/server. And a nginx server runing on this machine.
If you don't please visit get docker
-
Install docker-compose
-
Clone the repo
git clone https://github.com/gpguia/drone-ci-setup.git
-
Setup your nginx server, click here to see how.
-
Setup .env.template file, for more info please read commentaries inside the file.
-
Make sure to export those variables or just replace it directly in
docker-compose.yml
file -
Start docker images using Detached mode (-d):
docker-compose up -d
If you follow those steps, you should be able to login using github credentials by accessing your DRONE_SERVER_HOST
variable.
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Guilherme guia - @guipguia - [email protected]