diff --git a/Caddyfile b/Caddyfile index 3e6da54..eb450ae 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,8 +1,6 @@ - { https_port 8888 http_port 8887 - local_certs } localhost:8888 { @@ -12,7 +10,4 @@ localhost:8888 { handle_path /admin/* { reverse_proxy /* http://127.0.0.1:3000 } -} - handle_path /faaso/hello/* { - reverse_proxy /* http://hello-d89veq:3000 - } +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6d09e11..15575bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN shards build -d --error-trace RUN strip bin/* FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine as ship -RUN apk update && apk add caddy multirun openssl zlib yaml pcre2 gc libevent libgcc libxml2 ttyd && apk cache clean +RUN apk update && apk add caddy multirun docker openssl zlib yaml pcre2 gc libevent libgcc libxml2 ttyd && apk cache clean # Unprivileged user RUN addgroup -S app && adduser app -S -G app diff --git a/public/index.html b/public/index.html index f91e483..bbf614e 100644 --- a/public/index.html +++ b/public/index.html @@ -32,6 +32,7 @@ +