From 7751ba3d6a3490793aee1bf4e06d44b866718f96 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Mon, 30 Jan 2023 11:07:42 -0800 Subject: [PATCH] Add Drone config and README --- .drone.yml | 14 ++++++++++++++ README.md | 24 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .drone.yml create mode 100644 README.md 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`.