Caddy in a monorepo?
I was following your template @Brody to deploy vite with Caddy https://github.com/brody192/vite-react-template/blob/main/Caddyfile in my monorepo but I think my nixpacks.toml is not getting picked up.
f78d75b5-8972-4d61-8517-22bbccefb41e
I created a file for my landing page in
deployments/landing-nixpacks.toml
But i noticed the configs in the service settings are not getting overriden :/GitHub
vite-react-template/Caddyfile at main · brody192/vite-react-template
Contribute to brody192/vite-react-template development by creating an account on GitHub.
24 Replies
Project ID:
f78d75b5-8972-4d61-8517-22bbccefb41e
values in the nixpacks.toml file can not overwrite anything in the service settings
:cat_woah:
you are thinking of a railway.json file
that's true
but other than that what makes you think it's not being used? have you checked the build table?
i see there's a
nixpacksConfigPath
in the railway config maybe ill try that
yeahyou shouldn't need that
perhaps you have not set the root directory correctly?
have you read my guide? - https://docs.railway.app/tutorials/deploying-a-monorepo
Yea quite a bit, this is a shared package monorepo so that wouldn't work
gotcha
what are you using? nx, turbo?
turbo
adding the nixpacksconfigpath might be working'
you may need to adjust the the root directory in the Caddyfile
yeah for formatting i think this might work