Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Run Atlassian-Software with Docker behind proxy

Deleted user January 30, 2020

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;
}
}
}

 

1 answer

0 votes
Alex
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2021

HI @[deleted] 

 

Do you happen to figure out what was the issue? I am facing something similar on my setup.

 

Thanks

 

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events