informatica:linux:devops:drone
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
informatica:linux:devops:drone [2017/03/10 09:55] – created jose | informatica:linux:devops:drone [2017/03/10 10:04] (current) – jose | ||
---|---|---|---|
Line 6: | Line 6: | ||
chmod +x / | chmod +x / | ||
| | ||
+ | Creamos fichero compose y lo ejecutamos: | ||
+ | docker-compose -f docker-compose.yml up | ||
+ | **docker-compose.yml: | ||
+ | < | ||
+ | version: ' | ||
+ | |||
+ | services: | ||
+ | drone-server: | ||
+ | image: drone/ | ||
+ | ports: | ||
+ | - 8080:8000 | ||
+ | volumes: | ||
+ | - ./ | ||
+ | restart: always | ||
+ | environment: | ||
+ | - DRONE_OPEN=true | ||
+ | - DRONE_GITHUB=true | ||
+ | - DRONE_GITHUB_CLIENT=iwanttobefreak | ||
+ | - DRONE_GITHUB_SECRET=*************** | ||
+ | - DRONE_SECRET=drone | ||
+ | |||
+ | drone-agent: | ||
+ | image: drone/ | ||
+ | command: agent | ||
+ | restart: always | ||
+ | depends_on: [ drone-server ] | ||
+ | volumes: | ||
+ | - / | ||
+ | environment: | ||
+ | - DRONE_SERVER=ws:// | ||
+ | - DRONE_SECRET=drone | ||
+ | </ | ||
informatica/linux/devops/drone.1489139756.txt.gz · Last modified: 2017/03/10 09:55 by jose