Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atlassian-agent.jar usable with official Atlassian docker images? #54

Open
pardon-denim opened this issue Jan 25, 2024 · 3 comments
Open

Comments

@pardon-denim
Copy link

Hello!

I have my own docker-compose file build a while ago with the offical Atlassian images. Is it possible to use the atlassian-agent for licence generation with my the official images?

@haxqer
Copy link
Owner

haxqer commented Jan 26, 2024

Yes.
I only used the official installation package for installation, theoretically using the official Docker image is definitely feasible. But you need to try it yourself

@pardon-denim
Copy link
Author

Thanks for your reply. Yesterday I played a bit with the agent but I didn't work and I couldn't see what you were doing different.

Turns out that I missed the "-javaagent" option in your Dockerfile. Now that I implemented the option it works fine.

For other interested people: Build your own image with the atlassian-agent. There's a placeholder variable in Atlassians setenv.sh which you can fill via docker-compose.yml to load the atlassian-agent.

e.g.

environment:
      - 'JVM_SUPPORT_RECOMMENDED_ARGS=-Djira.safeguards.indexing.issue.worklogs=-1 -javaagent:/var/agent/atlassian-agent.jar'

@haxqer
Copy link
Owner

haxqer commented Jan 26, 2024

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants