Commit graph

22 commits

Author SHA1 Message Date
383a4fd2f4 fix: update avatar path 2022-02-24 00:15:58 +00:00
a06b229755 build(docker): build with Docker Compose 2022-01-26 08:50:06 +00:00
0482badc95 chore: update app command 2022-01-03 10:20:01 +00:00
6e120bee3a refactor: use Tailwind CLI and esbuild for assets
Fixes: #10
Fixes: #14
2022-01-02 17:16:00 +00:00
f002586a1e Move Dockerfile 2021-12-29 20:42:35 +00:00
630ee3a8c6 refactor: remove duplication in build arguments 2021-11-11 08:17:10 +00:00
f9f3d23b7f fix: add the missing make dependency 2021-11-11 08:09:51 +00:00
2ef976fa1c build(docker): use alpine for assets
[ci-skip]
2021-11-02 23:16:19 +00:00
7fbecb1728 build(docker): make Compose file more configurable
Allow for configuring volume mounts, ports, the site URL, and volume
mounts within the Docker Compose file using environment variables from
within and .env file.

This means that the same Docker Compose file could be used to generate
and serve the site locally using an anonymous volume, as well as
generate a one-time build into a local directory to be served by Apache
or Nginx on production.
2021-10-26 22:48:26 +01:00
bd2910781c build(docker): make the web port configurable 2021-10-24 10:21:03 +01:00
61ec3db7b3 build(docker): remove the phpunit service 2021-10-24 10:18:52 +01:00
ba935d861c build(docker): add a phpunit service 2021-10-07 09:03:49 +01:00
3b3b075ad1 Replace Traefik with Nginx [skip ci] 2021-07-26 23:40:01 +01:00
730398421a Ensure that assets are generated on first build 2021-07-16 12:33:16 +01:00
Oliver Davies
7c99281ae2 Fix the local proxy URL 2021-07-09 10:21:17 +01:00
Oliver Davies
17626df722 Use Traefik as a local reverse proxy
Use Traefik as a local reverse proxy so that the site can be accessed
from http://oliverdavies.localhost rather than http://localhost:8000,
which is the default for Sculpin.

I've also overridden the command used for the app service so that it
exposes port 80 and serves the site on that port, as well as configuring
the URL to match within the generated output.
2021-07-08 19:34:41 +01:00
1e66df30a1 Refactor the production Docker image 2021-07-03 23:36:09 +01:00
f8e945d8ee Move the node Dockerfile into a sub-directory 2021-07-02 17:56:01 +01:00
175f9c4853 Fix assets directory in Docker and Webpack 2021-06-30 12:02:55 +01:00
1963c2e1d7 Rename node service to assets 2021-06-30 12:02:55 +01:00
dc0a72c109 Update docker-compose.yaml 2021-06-30 12:02:55 +01:00
0d026da92c Add Docker Compose 2021-06-30 12:02:54 +01:00