version: '2' services: confluence: image: 'atlassian/confluence-server:6.15.3' environment: - JVM_MINIMUM_MEMORY=2048m - JVM_MAXIMUM_MEMORY=3000m - JAVA_HOME=/opt/java/openjdk - CONFLUENCE_HOME=/var/atlassian/application-data/confluence - JAVA_VERSION=jdk8u212-b03 - CONFLUENCE_INSTALL_DIR=/opt/atlassian/confluence ports: - '8090:8090' - '8091:8091' volumes: - /opt/wiki:/var/atlassian/application-data/confluence labels: io.rancher.container.hostname_override: container_name