Volumes in pwd for golang hot reload

hey guys

when running caddy in docker
there is volumes tag where we have pwd for Caddyfile and site

I have a golang server I need to have in the site directory created when I run my container having the server, database and caddy images so that when I make changes to my server code without running docker-compose again it reflects.

I understand there are hot reloading options like ‘air’ but I have seen html files done the same with volumes and changes reflect like hot reload scenarios

Please fill out the help topic template. We can’t help you without it filled out.

what do you mean I dont understand

When you post a topic in the Help category there is a template that appears. If you fill that out we will better understand what you are asking and how to help you. I’m not quite sure there’s enough info here to make sense of what you’re asking right now.

This topic was automatically closed after 30 days. New replies are no longer allowed.