Last active
March 27, 2023 15:46
-
-
Save sebastian13/808c6363933943ad892f433db9d6dba7 to your computer and use it in GitHub Desktop.
A docker-compose file for the official Atlassian Confluence Server, using a postgres database and a separate reverse proxy, connected via docker network 'www-network'.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
confluence: | |
image: atlassian/confluence-server:6.11 | |
restart: always | |
expose: | |
- 8090 | |
volumes: | |
- ./confluence/:/var/atlassian/application-data/confluence | |
networks: | |
- default | |
- proxy-tier | |
environment: | |
- CATALINA_CONNECTOR_PROXYNAME=confluence.example.com | |
- CATALINA_CONNECTOR_PROXYPORT=443 | |
- CATALINA_CONNECTOR_SCHEME=https | |
- CATALINA_CONNECTOR_SECURE=true | |
postgres: | |
image: postgres:9.6 | |
restart: always | |
expose: | |
- 5432 | |
volumes: | |
- ./pgdata/:/var/lib/postgresql/data | |
environment: | |
- POSTGRES_USER=confluence | |
- POSTGRES_DB=confluence | |
- POSTGRES_PASSWORD=123456789 | |
networks: | |
- default | |
networks: | |
proxy-tier: | |
external: | |
name: www-network |
Thanks for sharing! Can you give an example of Reverse Proxy config, plz
You're welcome. You can find my nginx reverse proxy setup on github: https://github.com/sebastian13/docker-compose-nginx-proxy
What needs to change to make this a version 2 compose file?
What needs to change to make this a version 2 compose file?
I guess, there's nothing more needed than changing the first line to
version: '2'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing! Can you give an example of Reverse Proxy config, plz