Add Drone config and README
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2023-01-30 11:07:42 -08:00
parent 560aca113c
commit 7751ba3d6a
2 changed files with 38 additions and 0 deletions

14
.drone.yml Normal file
View File

@ -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

24
README.md Normal file
View File

@ -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`.