Oliver Davies
fa1774b550
feat: create a justfile
...
Refs: #18
2023-02-21 08:33:45 +00:00
Oliver Davies
34810088c3
feat: add extra_files
...
Copy extra files into the image.
2023-02-20 23:00:22 +00:00
Oliver Davies
d66f34480a
feat: use a non-root Docker user
...
Create a non-root `app` user within Docker that maps to default user
(uid 1000) on Linux-based systems.
Refs #10
2023-02-19 13:00:06 +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
eb29d11134
feat: add Caddy as a web server
2023-02-14 20:14:43 +00:00
Oliver Davies
1d7f796538
feat: add extra hosts to the web service
2023-02-14 14:35:45 +00:00
Oliver Davies
b258b3e034
feat(Dockerfile): allow adding extra directories
2023-02-14 10:41:51 +00:00
Oliver Davies
1e800c0a56
refactor: run each command in a separate layer
...
This makes it easier to debug from which command an error might be
coming from.
2023-02-14 10:41:08 +00:00
Oliver Davies
36b32b69cc
refactor: extract a method to generate files
2023-02-03 22:03:05 +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
4e861685d9
chore: group PHP-related templates
2023-02-02 00:40:42 +00:00
Oliver Davies
43f27371e2
Fix missing dependencies on first load
2023-01-21 19:53:19 +00:00
Oliver Davies
9c3e9a7819
Delete test.twig
2023-01-20 08:15:20 +00:00
Oliver Davies
4a575c7d14
fix: Commands should be separated by newlines
2023-01-19 22:40:09 +00:00
Oliver Davies
579c476a54
Add remaining templates
2023-01-19 19:47:15 +00:00
Oliver Davies
31614e0f58
Render a simple template
2023-01-19 18:42:11 +00:00