Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Caddy from DockerHub help

Featured Replies

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)

There is a caddy within apps which you could probably use as a basis for figuring out the template to enter in.

  • Author

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.

  • 1 month later...

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.

  • Author

@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.

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!

  • 1 month later...

+1, I would love to have a Caddy Docker for UnRaid!  Thanks for considering doing that!

Me please !

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!

  • Author

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.

Any luck? Really looking forward to this 😇

  • 2 months later...
  • 2 weeks later...

+1 to this request. pure curiosity. Tried myself didn't manage yet. Anyone successful, yet?

  • 2 weeks later...

No one interested in sharing how they got this working?

  • 2 weeks later...

@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?

 

 

  • 2 years later...

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.

caddy docker.png

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.