all repos — flynet @ a6bedb4945e23fb4c395d9c4a3b4cc6d3d0c9fce

ersatz CDN on fly.io

use in-memory storage instead of disk-based

Alin
commit

a6bedb4945e23fb4c395d9c4a3b4cc6d3d0c9fce

parent

95c6ea2e7ce7b16ac4a607da767d49529d828f22

3 files changed, 7 insertions(+), 8 deletions(-)

changed files
M CaddyfileCaddyfile
@@ -7,9 +7,8 @@ }
cache { ttl 1h - nuts { - path /data/ - } + otter + storers otter } log { format json
M DockerfileDockerfile
@@ -4,7 +4,7 @@ FROM caddy:${CADDY_VERSION}-builder-alpine AS builder
RUN xcaddy build \ --with github.com/caddyserver/cache-handler \ - --with github.com/darkweak/storages/nuts/caddy \ + --with github.com/darkweak/storages/otter/caddy \ --with github.com/pberkel/caddy-storage-redis \ --with github.com/caddy-dns/rfc2136 \ --with github.com/jarv/caddy-goatcounter
M fly.tomlfly.toml
@@ -36,7 +36,7 @@
[[services.ports]] port = 443 -[mounts] - source = "data" - destination = "/data" - initial_size = "1gb" +# [mounts] +# source = "data" +# destination = "/data" +# initial_size = "1gb"