You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
drone-server:
|
|
|
|
image: ${DRS_IMG:-drone/drone}:${DRS_TAG:-2}
|
|
|
|
container_name: ${DRS_CONTAINER_NAME:-drone-server}
|
|
|
|
restart: ${DRS_RESTART:-unless-stopped}
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- drone
|
|
|
|
volumes:
|
|
|
|
- ${LOCAL_STACK_DIR}/drone-server/data:/data
|
|
|
|
expose:
|
|
|
|
- 80
|
|
|
|
env_file:
|
|
|
|
- drone-server.env
|
|
|
|
|
|
|
|
drone-agent:
|
|
|
|
image: ${DRA_IMG:-drone/drone-runner-docker}:${DRA_TAG:-1}
|
|
|
|
container_name: ${DRA_CONTAINER_NAME:-drone-agent}
|
|
|
|
restart: ${DRA_RESTART:-unless-stopped}
|
|
|
|
networks:
|
|
|
|
- drone
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
expose:
|
|
|
|
- 3000
|
|
|
|
depends_on:
|
|
|
|
- drone-server
|
|
|
|
env_file:
|
|
|
|
- drone-agent.env
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
external:
|
|
|
|
name: ${NETWORK:-webservices}
|
|
|
|
drone:
|
|
|
|
internal: false
|