version: '3' services: drone-server: image: drone/drone:latest ports: - 127.0.0.1:8000:8000 volumes: - /var/lib/drone:/var/lib/drone - /var/run/docker.sock:/var/run/docker.sock restart: always env_file: - /etc/drone/server.env drone-runner-docker: image: drone/drone-runner-docker:latest depends_on: - drone-server ports: - 127.0.0.1:5000:5000 - 127.0.0.1:3333:3000 volumes: - /var/run/docker.sock:/var/run/docker.sock tmpfs: '/run,/tmp,/etc,/drone' restart: always env_file: - /etc/drone/runner-docker.env drone-gc: image: drone/gc:latest depends_on: - drone-server volumes: - /var/run/docker.sock:/var/run/docker.sock restart: always environment: - GC_DEBUG=true - GC_CACHE=50gb - GC_INTERVAL=720m