Giter Club home page Giter Club logo

Comments (4)

cptactionhank avatar cptactionhank commented on June 30, 2024

Can you provide an example of your docker-compose file?

from docker-atlassian-confluence.

milosonator avatar milosonator commented on June 30, 2024

Like this:

confluence:
restart: always
build: ./confluence
expose:
- "8090:8090"
links:
- postgres
environment:
CATALINA_OPTS: "-Xms256m -Xmx512m"

Dockerfile just copies a server.xml nothing else.

from docker-atlassian-confluence.

cptactionhank avatar cptactionhank commented on June 30, 2024

Hi,

I have just run a setup with the following docker-compose.ml

confluence:
  image: cptactionhank/atlassian-confluence
  # command: sleep 55
  environment:
    CATALINA_OPTS: -Xms64m -Xmx768m -Datlassian.plugins.enable.wait=300
  ports:
    - "0.0.0.0:8090:8090"
  expose:
    - 8090

and it seems to be working, I have verified this by looking in the url <..>/admin/systeminfo.action

Key Value
Java Runtime Arguments -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XX:-UseAESIntrinsics -Xms1024m -Xmx1024m -XX:+UseG1GC -Djava.awt.headless=true -Xloggc:/opt/atlassian/confluence/logs/gc-2015-08-29_23-08-39.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCTimeStamps -XX:-PrintTenuringDistribution -Xms64m -Xmx768m -Datlassian.plugins.enable.wait=300 -Djava.endorsed.dirs=/opt/atlassian/confluence/endorsed -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djava.io.tmpdir=/opt/atlassian/confluence/temp
Maximum Heap Size 768 MB

from docker-atlassian-confluence.

milosonator avatar milosonator commented on June 30, 2024

Ah I see what happened here. I continously checked the amount of memory by looking at the command that was run. But that always starts with the default 1024mb. It did actually work...

Well that's a bunch of time wasted.. But thanks a lot for helping out. Looking at the system info indeed shows the correct amount of memory.

Cheers!

from docker-atlassian-confluence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.