mrCunningham
Failed to install caddy
ProjectID:e649edf0-e7e9-4b6d-8516-8155a5adf4a2
#12 [stage-0 6/15] RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.7.4/caddy_2.7.4_linux_amd64.tar.gz";
#12 0.305 curl: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libdl.so.2)
#12 0.305 curl: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libpthread.so.0)
#12 ERROR: process "/bin/bash -ol pipefail -c curl -fsSLo caddy.tar.gz \"https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz\"" did not complete successfully: exit code: 1
9 replies
Caddy as separate service
ProjectID: e649edf0-e7e9-4b6d-8516-8155a5adf4a2
I have two services, a frontend react service and a golang backend service. I want to have caddy serve the frontend build and have a reverse proxy to the backend. Is there any documentation on doing this?
I saw this template for caddy https://railway.app/template/TETV8z, but it serves the static site from within the caddy service.
101 replies
Ignore directory in watch paths
i have a mono repo project in go with a folder for frontend. I setup two services one for frontend one for backend. For the backend i want to configure watch paths to ignore the frontend. I currently have
**/*.go,!/frontend/**
in the watch paths but my backend always skips building. How can i make this work?
ProjectID: e649edf0-e7e9-4b6d-8516-8155a5adf4a212 replies