exoframejs / exoframe

Exoframe is a self-hosted tool that allows simple one-command deployments using Docker
https://exoframejs.github.io/exoframe/
1.14k stars 57 forks source link

Allow specifying additional docker labels via project config #85

Closed FWeinb closed 6 years ago

FWeinb commented 6 years ago

It would be great to have the ability to change treafik options (e.g. expose via http/https, auto-redirect to https) in the exoframe.json.

It looks like you can override the default behaviour using container labels. Adding a Labels key to the exoframe.json and adding these to the container during start would make this possible.

So disabling https for a specify project would work like this:

exoframe.json
Labels: [
  "traefik.frontend.entryPoints=http"
]

Left to do:

yamalight commented 6 years ago

I guess it'd be best to just provide option to set custom labels via exoframe config. Renaming the issue accordingly. Should be quite easy to implement.

yamalight commented 6 years ago

Server support shipped in v1.1.0

yamalight commented 6 years ago

Cleaned up off-topic a bit.

yamalight commented 6 years ago

Done and ready to ship.