version: '3' services: drone-server: image: ${DRS_IMG:-drone/drone}:${DRS_TAG:-1} 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