Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    https://github.com/zokradonh kopanio docker with haproxy in front

    Kopano WebApp
    2
    4
    1462
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by

      Hi,
      I am trying to install the kopano-docker container zoo on a machine which already has a haproxy rev. proxy setup to handle the ssl termination. This rev. proxy forwards incoming requests based on the host request header to different containers. They receive the web requests on local ports (e.g. 127.0.0.1:84)

      I need some hints how to change the default configuration of the container startup:

      • ssl termination with LE certs is provided by haproxy on the docker host. The included proxy container (/web) is not needed
      • maybe kopano_kopano_ssl_1 is also obsolete in this case?
      • incoming requests on port 443 are received by haproxy and forwarded to a local port of the container ( /webapp if I understand the architecture correctly?)

      Currently I get this:

      root@develd:/opt/kopano-docker# docker-compose up
      kopano_kopano_kustomer_1 is up-to-date
      Starting kopano_kopano_ssl_1 …
      kopano_ldap is up-to-date
      Starting kopano_web_1 …
      kopano_db is up-to-date
      kopano_mail is up-to-date
      Starting kopano_web_1 … error

      Starting kopano_kopano_ssl_1 … done
      f04444dbda200fdf0f015b682e77dde1e7f2cd735788): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use

      ERROR: for web Cannot start service web: driver failed programming external connectivity on endpoint kopano_web_1 (86abd70aced5002100b8f04444dbda200fdf0f015b682e77dde1e7f2cd735788): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
      ERROR: Encountered errors while bringing up the project.

      Docker version 19.03.5, docker-compose version 1.25.4

      Thanks for some ideas ;-)
      Thommie

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @Guest last edited by

        Hi @thommierother,

        similar questions have been discussed in that project already, just have a look at the GitHub issues.

        You can find an example configuration for traefik in the examples folder, should be easy to adapt for other proxies: https://github.com/zokradonh/kopano-docker/blob/master/examples/traefik-proxy-subdomain.md

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • A Former User
          A Former User last edited by

          Hi,
          yes, that looks pretty similar, I will adapt it and return here if necessary … Maybe also another md doc would be useful then for others …

          fbartels 1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels Kopano @Guest last edited by

            @thommierother said in https://github.com/zokradonh kopanio docker with haproxy in front:

            Maybe also another md doc would be useful then for others …

            A pr from you with this would be welcome.

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

            1 Reply Last reply Reply Quote 0
            • First post
              Last post