citizen5 Posted January 31, 2020 Share Posted January 31, 2020 Hi, I'm trying to get a container from DockerHub running, specifically abiosoft/caddy, but am having an issue mapping a file rather than directory. The template specifies that the Caddyfile should be mapped in like: -v path/to/Caddyfile:/etc/Caddyfile ...but when doing so with the Unraid GUI, my config within that file does not seem to be loaded. The base template includes its own Caddyfile that is loaded instead. I've spent a few nights troubleshooting but can't get this working. Any ideas? (I hope this the appropriate area to post this, as it's not a template in CA) Quote Link to comment
Squid Posted January 31, 2020 Share Posted January 31, 2020 There is a caddy within apps which you could probably use as a basis for figuring out the template to enter in. Quote Link to comment
citizen5 Posted February 1, 2020 Author Share Posted February 1, 2020 I've looked at this and I don't see anything that would help with this issue. The only issue I'm having is getting the Caddyfile to map in properly; directory maps are not an issue but the singular file is. Quote Link to comment
Crooze Posted March 7, 2020 Share Posted March 7, 2020 Having the same problem. I'm currently using the Caddy in CA but it hasn't been updated in a couple of years. I really want to get the one from Abiosoft working. Quote Link to comment
citizen5 Posted March 7, 2020 Author Share Posted March 7, 2020 @Crooze I've resorted to building my own container with some additional security enhancements such as fail2ban and running as a non root user. It's currently private but if there's interest I could clean it up and make public. Quote Link to comment
Crooze Posted March 7, 2020 Share Posted March 7, 2020 2 minutes ago, citizen5 said: @Crooze I've resorted to building my own container with some additional security enhancements such as fail2ban and running as a non root user. It's currently private but if there's interest I could clean it up and make public. I would be very interested in that! Quote Link to comment
mattyx Posted May 5, 2020 Share Posted May 5, 2020 +1, I would love to have a Caddy Docker for UnRaid! Thanks for considering doing that! Quote Link to comment
esto Posted May 6, 2020 Share Posted May 6, 2020 On 3/7/2020 at 3:59 PM, citizen5 said: @Crooze I've resorted to building my own container with some additional security enhancements such as fail2ban and running as a non root user. It's currently private but if there's interest I could clean it up and make public. +1. Very interested! Quote Link to comment
citizen5 Posted May 6, 2020 Author Share Posted May 6, 2020 I'll work on getting it into the CA repo soon. Probably by next week.A few things though: I didn't end up implementing fail2ban yet, but still plan to. Caddy 2 is now in GA so I'll be working that out too; in a separate build. 4 Quote Link to comment
Arno Posted May 11, 2020 Share Posted May 11, 2020 Any luck? Really looking forward to this 😇 Quote Link to comment
L0rdRaiden Posted July 21, 2020 Share Posted July 21, 2020 Any update? The template can be just based on the oficial docker repo https://hub.docker.com/_/caddy/ 1 Quote Link to comment
twok Posted August 3, 2020 Share Posted August 3, 2020 +1 to this request. pure curiosity. Tried myself didn't manage yet. Anyone successful, yet? Quote Link to comment
aurevo Posted August 15, 2020 Share Posted August 15, 2020 No one interested in sharing how they got this working? Quote Link to comment
superpsych0 Posted August 26, 2020 Share Posted August 26, 2020 @Squid you mentioned a Caddy container with a proper template ready to go in Apps, but I can't see it. Mucking about with the official Docker Hub image now, any better options? Quote Link to comment
Gabriel_B Posted June 5, 2023 Share Posted June 5, 2023 Is there any fix yet? Or maybe an alternative for a simple web file server? Currently using Swag to host a static site, but that's less then elegant and Caddy seems a nice service worth learning. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.