description: "Drone Server" maintainer: "Valentin Lab " ## XXXvlab: docker uses the 'build' directory or the 'image:' option here. docker-image: docker.0k.io/drone:1.1 docker-compose: environment: DRONE_OPEN: "true" ## users are authenticated through the vcs-manager anyway DRONE_GIT_ALWAYS_AUTH: "false" DRONE_TLS_AUTOCERT: "false" ## default database DATABASE_DRIVER: sqlite3 DATABASE_CONFIG: /data/drone.sqlite # GIN_MODE: release ## Should probably offer an option in charm, with 'log.{}' # DRONE_LOGS_DEBUG: "true" # DRONE_LOGS_TEXT=true # DRONE_LOGS_PRETTY=true # DRONE_LOGS_COLOR=true data-resources: - /data default-options: mode: single ## mode is 'single' or 'multi' capacity: 2 ## only if mode is 'single' #secret: ## only if mode is 'multi' uses: vcs-manager: #constraint: required | recommended | optional #auto: pair | summon | none ## default: pair constraint: required auto: pair solves: feature: "Version control system manager" web-proxy: #constraint: required | recommended | optional #auto: pair | summon | none ## default: pair constraint: recommended auto: pair solves: proxy: "Public access" default-options: target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80