Created
May 9, 2020 09:03
-
-
Save Hassanzadeh-sd/db77265925507405a1ce2cacf5a77e03 to your computer and use it in GitHub Desktop.
drone-ci-composefile.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [email protected] | |
version: "3.7" | |
services: | |
drone-server: | |
image: drone/drone:1 | |
container_name: drone-server | |
ports: | |
- 4021:80 | |
- 443:443 | |
volumes: | |
- drone:/var/lib/drone/ | |
restart: always | |
environment: | |
- DRONE_GITEA_SERVER=http://213.233.176.190:6121 | |
- DRONE_GITEA_CLIENT_ID=aea9ca24-88da-4600-ab31-c855fc20049f | |
- DRONE_GITEA_CLIENT_SECRET=K41InAgtP5mL8hhSCDLwr7joJqIal7ne903WLxmToQQ= | |
- DRONE_RPC_SECRET=4776993222853f8b3d99ce0cb364ea28 | |
- DRONE_SERVER_HOST=213.233.176.190:4021 | |
- DRONE_SERVER_PROTO=http | |
- DRONE_AGENTS_ENABLED=true | |
networks: | |
- ci_Network | |
drone-runner: | |
image: drone/drone-runner-docker:1 | |
container_name: drone-runner | |
restart: always | |
depends_on: | |
- drone-server | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- drone-runner:/data | |
environment: | |
- DRONE_RPC_PROTO=http | |
- DRONE_RPC_HOST=drone-server:80 | |
- DRONE_RPC_SECRET=4776993222853f8b3d99ce0cb364ea28 | |
- DRONE_RUNNER_CAPACITY=2 | |
- DRONE_RUNNER_NAME=213.233.176.190 | |
ports: | |
- 4020:3000 | |
networks: | |
- ci_Network | |
volumes: | |
drone: {} | |
drone-runner: {} | |
networks: | |
ci_Network: | |
name: ci_Network |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment