Skip to content

Instantly share code, notes, and snippets.

@intech
Last active December 15, 2018 02:45
Show Gist options
  • Select an option

  • Save intech/bcc9bddea1e19c65f8bd4e9e1abb8d15 to your computer and use it in GitHub Desktop.

Select an option

Save intech/bcc9bddea1e19c65f8bd4e9e1abb8d15 to your computer and use it in GitHub Desktop.
Confluence docker-compose
version: "3.2"
services:
postgresql:
image: postgres
container_name: postgresql
hostname: postgresql
restart: always
environment:
POSTGRES_USER: confluence
POSTGRES_PASSWORD: c0nf1u3nc3
POSTGRES_DB: confluencedb
POSTGRES_INITDB_ARGS: --encoding=UTF-8
volumes:
- postgresql:/var/lib/postgresql/data
confluence:
image: atlassian/confluence-server
container_name: confluence
hostname: confluence
environment:
JVM_MAXIMUM_MEMORY: 2048m
restart: always
ports:
- "80:8090"
- "8091:8091"
links:
- postgresql
depends_on:
- postgresql
volumes:
- confluence:/var/atlassian/application-data/confluence
volumes:
postgresql:
confluence:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment