Caddy from DockerHub help


citizen5

Recommended Posts

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)

Link to comment
  • 1 month later...
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!

Link to comment
  • 1 month later...
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!

Link to comment
  • 2 months later...
  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.