services: drone: image: drone/drone:2 restart: unless-stopped ports: - "80:80" - "443:443" environment: DRONE_TLS_AUTOCERT: "true" DRONE_GITEA_SERVER: ${DRONE_GITEA_SERVER:?} DRONE_GITEA_CLIENT_ID: ${DRONE_GITEA_CLIENT_ID:?} DRONE_GITEA_CLIENT_SECRET: ${DRONE_GITEA_CLIENT_SECRET:?} DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?} DRONE_SERVER_HOST: ${DRONE_SERVER_HOST:?} DRONE_SERVER_PROTO: ${DRONE_SERVER_PROTO:?} volumes: - drone_data_v2:/data runner: image: drone/drone-runner-docker:1 restart: unless-stopped ports: - "127.0.0.1:3000:3000" environment: DRONE_RUNNER_NAME: default DRONE_RPC_PROTO: http DRONE_RPC_HOST: drone DRONE_RPC_SECRET: ${DRONE_RPC_SECRET:?} volumes: - /var/run/docker.sock:/var/run/docker.sock volumes: drone_data_v2: