fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

  1. description: "Drone Server"
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. ## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
  4. docker-image: docker.0k.io/drone:1.1
  5. docker-compose:
  6. environment:
  7. DRONE_OPEN: "true" ## users are authenticated through the vcs-manager anyway
  8. DRONE_GIT_ALWAYS_AUTH: "false"
  9. DRONE_TLS_AUTOCERT: "false"
  10. ## default database
  11. DATABASE_DRIVER: sqlite3
  12. DATABASE_CONFIG: /data/drone.sqlite
  13. # GIN_MODE: release
  14. ## Should probably offer an option in charm, with 'log.{}'
  15. # DRONE_LOGS_DEBUG: "true"
  16. # DRONE_LOGS_TEXT=true
  17. # DRONE_LOGS_PRETTY=true
  18. # DRONE_LOGS_COLOR=true
  19. data-resources:
  20. - /data
  21. default-options:
  22. mode: single ## mode is 'single' or 'multi'
  23. capacity: 2 ## only if mode is 'single'
  24. #secret: ## only if mode is 'multi'
  25. uses:
  26. vcs-manager:
  27. #constraint: required | recommended | optional
  28. #auto: pair | summon | none ## default: pair
  29. constraint: required
  30. auto: pair
  31. solves:
  32. feature: "Version control system manager"
  33. web-proxy:
  34. #constraint: required | recommended | optional
  35. #auto: pair | summon | none ## default: pair
  36. constraint: recommended
  37. auto: pair
  38. solves:
  39. proxy: "Public access"
  40. default-options:
  41. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:80