Hi,
I am trying to run Jira, Confluence and Bitbucket in Docker-Container behind a reverse proxy on Linux. It worked just fine except the SSH connection to Bitbucket and the SSL Encryption.
I dont know how I solve the problem. I hope you can help me.
I already generated a certificate and a key.
I am a beginner to Proxys and Docker. Step by step instructions would be very useful for me.
Thanks :)
My docker-compose.yml:
version: '3'
services:
jira:
container_name: jira
image: atlassian/jira-software:latest
environment:
- ATL_PROXY_NAME=jira.mydomain.de
- ATL_PROXY_PORT=80
- ATL_TOMCAT_SCHEME=http
volumes:
- jira_data:/var/atlassian/application-data/jira
confluence:
container_name: confluence
image: atlassian/confluence-server:latest
environment:
- ATL_PROXY_NAME=confluence.mydomain.de
- ATL_PROXY_PORT=80
- ATL_TOMCAT_SCHEME=http
volumes:
- confluence_data:/var/atlassian/application-data/confluence
bitbucket:
container_name: bitbucket
image: atlassian/bitbucket-server:latest
environment:
- SERVER_PROXY_NAME=bitbucket.mydomain.de
- SERVER_PROXY_PORT=80
- SERVER_SCHEME=http
volumes:
- bitbucket_data:/var/atlassian/application-data/bitbucket
nginx:
container_name: reverse_proxy
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- jira
- confluence
- bitbucket
ports:
- "80:80"
volumes:
- /data/certs:/etc/nginx/certs
networks:
default:
aliases:
- mydomain.de
volumes:
jira_data:
bitbucket_data:
confluence_data:
My nginx.conf file
events {}
http {
server {
listen 80;
server_name jira.mydomain.de;
location / {
proxy_pass http://jira:8080;
}
}
server {
listen 80;
server_name bitbucket.mydomain.de;
location / {
proxy_pass http://bitbucket:7990;
}
}
server {
listen 80;
server_name confluence.mydomain.de;
location / {
proxy_pass http://confluence:8090;
}
}
}
HI @[deleted]
Do you happen to figure out what was the issue? I am facing something similar on my setup.
Thanks
Alex
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.