version: '2'
services:
confluence:
image: q2digger/confluence:latest
container_name: confluence
hostname: confluence
volumes:
- app_data:/var/atlassian/application-data/confluence
restart: always
ports:
- 8090:8090
- 8091:8091
networks:
- confluence
- proxy
environment:
JVM_MINIMUM_MEMORY: '2048m'
JVM_MAXIMUM_MEMORY: '4096m'
CATALINA_CONNECTOR_PROXYNAME: 'confluence.local.net'
CATALINA_CONNECTOR_PROXYPORT: '443'
CATALINA_CONNECTOR_SCHEME: 'https'
VIRTUAL_HOST: 'confluence.local.net'
VIRTUAL_PORT: '8090'
proxy:
image: jwilder/nginx-proxy
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443
volumes:
- ./confluence.local.net.conf:/etc/nginx/vhost.d/confluence.local.net:ro
- /var/run/docker.sock:/tmp/docker.sock
- ./certs/:/etc/nginx/certs:ro
networks:
- proxy
database:
image: blacklabelops/postgres
volumes:
- db_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=atlassian
- POSTGRES_DB=confluence
- POSTGRES_USER=atlassian
- POSTGRES_ENCODING=UNICODE
- POSTGRES_COLLATE=C
- POSTGRES_COLLATE_TYPE=C
networks:
- confluence
volumes:
db_data:
app_data:
networks:
confluence:
proxy:
# The optional transport(5) table specifies a mapping from
# email addresses to message delivery transports and next-
# hop destinations. Message delivery transports such as
# local or smtp are defined in the master.cf file, and next-
# hop destinations are typically hosts or domain names. The
# table is searched by the trivial-rewrite(8) daemon.
#
apupkin@example.com mail01.example.com
vtaburetkina@example.com mail02.example.com
version: '2'
services:
confluence:
image: q2digger/confluence:latest
container_name: confluence
hostname: confluence
volumes:
- app_data:/var/atlassian/application-data/confluence
restart: always
ports:
- 8090:8090
- 8091:8091
networks:
- confluence
- proxy
environment:
JVM_MINIMUM_MEMORY: '2048m'
JVM_MAXIMUM_MEMORY: '4096m'
CATALINA_CONNECTOR_PROXYNAME: 'confluence.local.net'
CATALINA_CONNECTOR_PROXYPORT: '443'
CATALINA_CONNECTOR_SCHEME: 'https'
VIRTUAL_HOST: 'confluence.local.net'
VIRTUAL_PORT: '8090'
proxy:
image: jwilder/nginx-proxy
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443
volumes:
- ./confluence.local.net.conf:/etc/nginx/vhost.d/confluence.local.net:ro
- /var/run/docker.sock:/tmp/docker.sock
- ./certs/:/etc/nginx/certs:ro
networks:
- proxy
database:
image: atlassian/postgres:9.4
volumes:
- db_data:/var/lib/postgresql/data
networks:
- confluence
environment:
- DB_PASS=atlassian
- DB_NAME=confluence
- DB_USER=atlassian
volumes:
db_data:
app_data:
networks:
confluence:
proxy: