Comments (5)
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.
I never used two connectors inside server.xml. I need an example on what your trying to do.
from jira.
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.
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.
Will be implemented in #12.
from jira.
Related Issues (20)
- Unable to build images for jira 7.11.0 HOT 3
- "Custom changes have not been carried over" after Jira upgrade HOT 5
- Connect to external SMTP server? HOT 3
- Unable to set multiple parameters for variables in setenv.sh using SETENV prefix
- Upgrade documentation and configuration to newer PostgreSQL HOT 1
- wget TLS error to github HOT 6
- Is mysql8.0 supported? HOT 3
- Jira Data Center support HOT 1
- image teamatldocker/nginx is not available HOT 3
- dbconfig.xml requires useSSL=false for MySQL HOT 4
- Create JIRA_DB_PASSWORD_FILE variable like POSTGRES_PASSWORD_FILE does
- Become root? / Sudo su? / Add certificates to trust store
- jira 8.18.2 not available on dockerhub HOT 3
- Could not create the Java Virtual Machine HOT 1
- Update MYSQL DRIVER VERSION
- Image needs updating to 8.22.4 (8.22.1 has a MAJOR VULNERABILITY) HOT 1
- Update to 8.22.6 to resolve critical security vulnerabilities
- Update MySQL docker-compose example HOT 1
- Incoming POP3s Mail Server not working
- ls -l
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira.