Commit graph

17 commits

Author SHA1 Message Date
Oliver Davies eb01ae0790 fix: add DOCKER_UID argument 2023-03-17 16:56:24 +00:00
Oliver Davies fc8474d198 feat: enable Traefik proxy for Fractal 2023-03-17 15:39:33 +00:00
Oliver Davies 7deddd4aa6 refactor: hard-code the build service target name 2023-03-17 14:58:51 +00:00
Oliver Davies fd5af4f397 fix: missing web service 2023-03-14 23:22:05 +00:00
Oliver Davies 474f8129a9 fix: incorrect docroot value 2023-03-14 23:21:57 +00:00
Oliver Davies d865f694fd fix: remove debug code 2023-03-14 23:12:38 +00:00
Oliver Davies 1802fdeb53 fix: incorrect project type 2023-03-14 23:11:59 +00:00
Oliver Davies 62bbe88ffc fix: spacing 2023-03-14 23:11:28 +00:00
Oliver Davies b4b289748a feat: add initial node support
Refs: #5
2023-03-12 12:33:33 +00:00
Oliver Davies 3891774f79 fix: add missing volume to the PHP service 2023-03-10 23:16:39 +00:00
Oliver Davies 22299f1cc6 feat: disable the web service
Don't create a `web` service in Docker Compose if it has been disabled
in `build.yaml`.

Fixes #28
2023-03-10 22:38:13 +00:00
Oliver Davies 6b5c1b5aee feat: add project_root setting
Allow for overriding the project root from `/app` to something else,
such as `/var/www/html`.

The default is set within a new `build.defaults.yaml` file which the
project specific file is merged into.

Fixes #27
2023-03-10 22:21:14 +00:00
Oliver Davies 0fcffc5d2f feat: add "auto-generated" text to templates
Fixes #21
2023-03-08 21:13:28 +00:00
Oliver Davies 1fb75c9d93 feat: make the Drupal docroot configurable
Allow for setting a `docroot` directory for Drupal projects.

By default, I've set this to `web` as that's what the Drupal Composer
scaffold projects use, but other platforms such as Acquia Cloud hosting
use `docroot`.

This is how it can be configured in `build.yaml`:

```yaml
drupal:
  docroot: docroot
```

Fixes #2
2023-02-19 13:00:06 +00:00
Oliver Davies 1d7f796538 feat: add extra hosts to the web service 2023-02-14 14:35:45 +00:00
Oliver Davies ddb1bcd58d feat: make the database values configurable
- Allow for setting a database `type` and `version`.
- Don't add a `database` service to docker-compose.yaml if there is no
  key within `docker-compose`.

Fixes #14
2023-02-03 20:13:28 +00:00
Oliver Davies 579c476a54 Add remaining templates 2023-01-19 19:47:15 +00:00