diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..cecd896 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +--- +kind: pipeline +name: publish docker image +steps: + - name: build and publish + image: plugins/docker + settings: + auto_tag: true + username: 3wordchant + password: + from_secret: git_coopcloud_tech_token_3wc + repo: git.coopcloud.tech/coop-cloud-chaos-patchs/civicrm-drupal + tags: latest + registry: git.coopcloud.tech diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e8c6cc --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# civicrm-drupal-docker + +Docker image for Drupal (9) + CiviCRM. + +## Running (docker) + +``` +docker run -p80:80 git.coopcloud.tech/coop-cloud-chaos-patchs/civicrm-drupal +``` + +You'll probably also want to mount a volume for `/opt/drupal/sites/`. + +## Running (docker-compose) + +Clone this repo, or download docker-compose.yml, then run `docker-compose up` + +## Building locally + +`docker-compose build` + +## Publishing + +Images are automatically published to git.coopcloud.tech whenever a new commit +is pushed to this repo, see `.drone.yml`.