all repos — homestead @ 12dcea302369101dccc9319fbe81658c5ad10d6c

Code for my website

Enable Caddyfile to validate without redis Validation tries to connect to the redis server by the `storage` global option, which is not possible without secrets that are not exposed during the build

Alan Pearce
commit

12dcea302369101dccc9319fbe81658c5ad10d6c

parent

962a7c8cbdcd486dd5ec4cdc197a72f82d3831af

1 file changed, 5 insertions(+), 0 deletions(-)

changed files
M DockerfileDockerfile
@@ -16,4 +16,9 @@
EXPOSE 9091/tcp ENV SITE_ROOT=/srv + +RUN mkdir /etc/caddy/globals/ +RUN touch /etc/caddy/globals/dummy RUN ["/usr/bin/caddy", "validate", "--config", "/etc/caddy/Caddyfile"] + +COPY redis.Caddyfile /etc/caddy/globals/redis