Open undergroundwires opened 1 year ago
If anyone is interested in getting this working before the official solution is there. Here's my workaround:
nice workaround @undergroundwires!
however, I'm a little surprised you didn't include a depends:
directive to the patch service to make sure it doesn't fire before the seafile-* services
nice workaround @undergroundwires!
however, I'm a little surprised you didn't include a
depends:
directive to the patch service to make sure it doesn't fire before the seafile-* services
Since depends on: is only ensuring service order, this might not do what you expect. You could add a health check to the seafile container and add that as a condition to the patch service. Since seafile can take a very long time to be ready (chmodding the files in case of "run as user", e.g.), that's the safer alternative, I believe, but correct me if I'm wrong.
Using Seafile on HTTP mode and having a HTTP proxy on front of it does not work.
Following PRs solve this issue: #325 and #324, this issue organizes these PRs.
Community has come up with own solutions such as ggogel/seafile-containerized to support container best-practices such as allowing this kind of scenario, however this is an important feature/bug fix that can be and should be supported in the official Docker image.