version: '2'
services:
confluence:
image: dockerhub.test.app/devops/ops/v1:_09_14_18_38
container_name: confluence
hostname: confluence
restart: always
networks:
- confluencenet
volumes:
- /data/confluence/data:/var/atlassian/application-data/confluence
ports:
- '8090:8090'
- '8091:8091'
environment:
- 'CATALINA_OPTS= -Xms2048m -Xmx2048m'
- 'CONFLUENCE_PROXY_NAME=wiki.corp.test'
- 'CONFLUENCE_PROXY_PORT=443'
- 'CONFLUENCE_PROXY_SCHEME=https'
- 'CONFLUENCE_DELAYED_START=30'
depends_on:
- postgresql
postgresql:
image: postgres:9.6.15-alpine
container_name: postgres
hostname: postgres
restart: always
networks:
- confluencenet
ports:
- '5432:5432'
volumes:
- /data/confluence/pgsql:/var/lib/postgresql/data
environment:
- 'POSTGRES_USER=confluence'
- 'POSTGRES_PASSWORD=0qmt-mHGo-r443-WFtt'
- 'POSTGRES_DB=confluence'
- 'POSTGRES_ENCODING=UTF8'
- 'POSTGRES_COLLATE=C'
- 'POSTGRES_COLLATE_TYPE=C'
networks:
confluencenet:
driver: bridge