Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Run Atlassian-Software with Docker behind proxy

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

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you