After install, and configuring Docker environment variables, the following are working:
However, there is a box top right on EVERY page:
--
Tomcat config is incorrect
The Tomcat server.xml has an incorrect configuration:
scheme should be 'https'
proxyName should be 'confluence.<MYDOMAIN>.com'
proxyPort should be '443'
--
There is NO WAY to set scheme via environment variables, as far as I can tell. The other two are configured correctly, I believe.
My docker.compose's .env file contains:
ATL_JDBC_URL=jdbc:postgresql://POSTGRES_SERVER_REDACTED:5432/confluence
ATL_JDBC_USER=POSTGRES_USERNAME_REDACTED
ATL_JDBC_PASSWORD=POSTGRES_PASSWORD_REDACTED
ATL_DB_TYPE=postgresql
ATL_PROXY_NAME=confluence.<MYDOMAIN>.com
ATL_PROXY_PORT=443
ATL_TOMCAT_PORT=8090
To answer my own question:
Your .env file should look like this:
ATL_JDBC_URL=jdbc:postgresql://POSTGRES_SERVER_REDACTED:5432/confluence
ATL_JDBC_USER=POSTGRES_USERNAME_REDACTED
ATL_JDBC_PASSWORD=POSTGRES_PASSWORD_REDACTED
ATL_DB_TYPE=postgresql
ATL_PROXY_NAME=confluence.<MYDOMAIN>.com
ATL_PROXY_PORT=443
ATL_TOMCAT_PORT=8090
ATL_TOMCAT_SCHEME=https
ATL_TOMCAT_SECURE=false
Note the last two lines.
Hope this helps someone!
Indeed you can also add the following env variables directly in environment section of your confluence/jira service (in your docker-compose.yml)
environment:
ATL_PROXY_NAME:confluence.<MYDOMAIN>.com
ATL_PROXY_PORT:443
ATL_TOMCAT_PORT:8090
ATL_TOMCAT_SCHEME: "https"
ATL_TOMCAT_SECURE: "false"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
haproxy.cfg relevant lines:
backend confluence_<mydomain>_com
server <servername> <serverip>:8090 check
domain2backend.map relevant lines:
confluence.<mydomain>.com confluence_<mydomain>_com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Bond Sadly I ended up making my own post, please feel free to comment should you see anything wrong with my config
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.