Giter Site home page Giter Site logo

Comments (5)

EugenMayer avatar EugenMayer commented on August 22, 2024

I see that you are rather manipulating the server.xml https://github.com/blacklabelops/jira/blob/master/imagescripts/docker-entrypoint.sh#L19 not replacing it - this keeps the compatibility high with future releases but makes it hard to deal with this particular feature.

from jira.

blacklabelops avatar blacklabelops commented on August 22, 2024

I never used two connectors inside server.xml. I need an example on what your trying to do.

from jira.

EugenMayer avatar EugenMayer commented on August 22, 2024

sure. Consider you want to access your jira with 2 different domains: jira.company.de for the internal use and support.company.com for the "servicedesk case" - public facing.

That said, we used 2 different connectors for this

<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" proxyName="jira.company.de" proxyPort="443" redirectPort="8443" scheme="https" useBodyEncodingForURI="true"/>

<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="18080" protocol="HTTP/1.1" proxyName="support.company.com" proxyPort="443" redirectPort="8443" scheme="https" useBodyEncodingForURI="true"/>

This way you have no issues with jira doing that kind of thing. How do you solve this?

from jira.

blacklabelops avatar blacklabelops commented on August 22, 2024

Looks pretty easy to me.

  • Use xmlstarlet like me to copy the existing connector node.
  • Then use enumerated envs to adjust domain names in both connectors separately at startup.
  • Add another env for specifying the ports.
  • Delete and update connectors at each startup (e.g. deleting all connectors but the first one)

Optional workaround:

  • Add env for specifying a server.xml -> Stops all adjustment by other envs. server.xml must be specified completely.

from jira.

blacklabelops avatar blacklabelops commented on August 22, 2024

Will be implemented in #12.

from jira.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.