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

question: How do I pass JVM option to container ? #1047

Closed
unoexperto opened this issue Oct 20, 2017 · 1 comment
Closed

question: How do I pass JVM option to container ? #1047

unoexperto opened this issue Oct 20, 2017 · 1 comment

Comments

@unoexperto
Copy link

Guys, how do I pass JVM option to app inside docker container ?

I tried javaOptions in Docker ++= Seq("-Dconfig.file=conf/staging.conf") but it doesn't seem to reach produced launcher script.

I'm on SBT 0.13.12, plugin version is 1.2.0, host system Linux Mint 18.2

@muuki88
Copy link
Contributor

muuki88 commented Oct 21, 2017

Thanks for your question @unoexperto . You are applying the wrong configuration scope.
See the documentation for customizing the application archetype

javaOptions in Universal ++= Seq(...)

should work fine.

@muuki88 muuki88 closed this as completed Oct 21, 2017
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