Question about docker usage with Caddy #166
-
What's this issue about?(bit of a Docker newb - sorry. I hope this is the right place to post questions. I've been spinning my wheels on this, trying different permutations none of which have worked, and figured I'd reach out to the community for insight.) I'm trying to incorporate OhMyForm into an existing Any suggestions for how I can adjust OhMyForm's compose for integrating with the below would be greatly appreciated. Thanks in advance! docker-compose.yml
Caddyfile
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
probably best to take a look at the nginx sample: https://github.com/ohmyform/ohmyform/tree/master/examples/docker_nginx -> and then you could work with the default.conf file to see what needs to be proxied in terms of containers. (as caddy is also a reverse proxy as far as I can see) |
Beta Was this translation helpful? Give feedback.
-
As it turns out, I'd already come up with the correct solution but apparently forgot to restart the caddy container after the config change. 🤦♂️ Thanks again, I'll add my working config below, and try to contribute it to the project as well. docker-compose.yml
Caddyfile
|
Beta Was this translation helpful? Give feedback.
As it turns out, I'd already come up with the correct solution but apparently forgot to restart the caddy container after the config change. 🤦♂️
Thanks again, I'll add my working config below, and try to contribute it to the project as well.
docker-compose.yml