# https://hub.docker.com/r/drone/drone version: '3.7' services: drone: image: "drone/drone:${IMAGE_VERSION:-2}" container_name: drone hostname: drone volumes: - "${HOST_DATA_DIR:-./data}:/data" ports: - "${WEBUI_BIND_ADDR:-127.0.0.1}:${WEBUI_BIND_PORT:-8386}:80" env_file: .env restart: unless-stopped logging: driver: "json-file" options: max-size: "${LOG_MAX_SIZE:-5m}" max-file: "${LOG_MAX_FILE:-5}"