Oliver Davies
4587fb0b4c
build(docker): use a global Traefik proxy
2022-03-05 14:48:59 +00:00
Oliver Davies
57b4a35f98
build(docker): make web port forward configurable
...
Make the forwarded web port configurable using an environment variable.
2022-03-02 07:49:14 +00:00
Oliver Davies
383a4fd2f4
fix: update avatar path
2022-02-24 00:15:58 +00:00
Oliver Davies
a06b229755
build(docker): build with Docker Compose
2022-01-26 08:50:06 +00:00
Oliver Davies
0482badc95
chore: update app
command
2022-01-03 10:20:01 +00:00
Oliver Davies
6e120bee3a
refactor: use Tailwind CLI and esbuild for assets
...
Fixes : #10
Fixes : #14
2022-01-02 17:16:00 +00:00
Oliver Davies
f002586a1e
Move Dockerfile
2021-12-29 20:42:35 +00:00
Oliver Davies
630ee3a8c6
refactor: remove duplication in build arguments
2021-11-11 08:17:10 +00:00
Oliver Davies
f9f3d23b7f
fix: add the missing make
dependency
2021-11-11 08:09:51 +00:00
Oliver Davies
2ef976fa1c
build(docker): use alpine for assets
...
[ci-skip]
2021-11-02 23:16:19 +00:00
Oliver Davies
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
Oliver Davies
bd2910781c
build(docker): make the web port configurable
2021-10-24 10:21:03 +01:00
Oliver Davies
61ec3db7b3
build(docker): remove the phpunit service
2021-10-24 10:18:52 +01:00
Oliver Davies
ba935d861c
build(docker): add a phpunit service
2021-10-07 09:03:49 +01:00
Oliver Davies
3b3b075ad1
Replace Traefik with Nginx [skip ci]
2021-07-26 23:40:01 +01:00
Oliver Davies
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
Oliver Davies
1e66df30a1
Refactor the production Docker image
2021-07-03 23:36:09 +01:00
Oliver Davies
f8e945d8ee
Move the node Dockerfile into a sub-directory
2021-07-02 17:56:01 +01:00
Oliver Davies
175f9c4853
Fix assets directory in Docker and Webpack
2021-06-30 12:02:55 +01:00
Oliver Davies
1963c2e1d7
Rename node service to assets
2021-06-30 12:02:55 +01:00
Oliver Davies
dc0a72c109
Update docker-compose.yaml
2021-06-30 12:02:55 +01:00
Oliver Davies
0d026da92c
Add Docker Compose
2021-06-30 12:02:54 +01:00