abiosoft / caddy-docker

Docker container for Caddy
https://hub.docker.com/r/abiosoft/caddy/
MIT License
766 stars 314 forks source link

Invalid plugins? filebrowser integration #124

Open IvanTurgenev opened 6 years ago

IvanTurgenev commented 6 years ago

Inside builder folder

docker build . -t caddybuilder; docker run --rm -v $(pwd):/install -v /root/src/cabby-docker/builder/go/:/go/ -e PLUGINS=git,filemanager,cors,realip,expires,cache caddybuilder

from

https://github.com/abiosoft/caddy-docker/tree/master/builder

when i check

/root/src/cabby-docker/builder/go/src/github.com/mholt/caddy/caddyhttp/filemanager.go

its contents dont point to anything

package caddyhttp

import _ "github.com/hacdias/filemanager/caddy/filemanager"

I am trying to integrate this docker image with

https://github.com/filebrowser/filebrowser

how should i do this? should i replace .go files with these on /caddyhttp/?

https://github.com/filebrowser/filebrowser/tree/master/caddy

IvanTurgenev commented 6 years ago

@hacdias

hacdias commented 6 years ago

Hey @IvanTurgenev! I just created this PR. It is the only place where that path is mentioned, although I find it strange to be getting the link from a comment.

IvanTurgenev commented 6 years ago

thanks

abiosoft commented 6 years ago

@hacdias well, that's the easiest way out and it works :wink:

although I find it strange to be getting the link from a comment.

hacdias commented 6 years ago

@abiosoft 😮