Hi Michael, Hm, that should be working. Can you double-check for any typos in the environment variables?
I'm running with the following and everything seems to be working as expected: diff --git a/docker-compose.yml b/docker-compose.yml index 646da33..7fc4140 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,7 @@ services: - DNS_ALT_NAMES=puppet,puppet.${DOMAIN:-internal},${DNS_ALT_NAMES:-} - PUPPERWARE_ANALYTICS_ENABLED=${PUPPERWARE_ANALYTICS_ENABLED:-true} - PUPPETDB_SERVER_URLS=https://puppetdb.${DOMAIN:-internal}:8081 + - PUPPETSERVER_MAX_ACTIVE_INSTANCES=${PUPPETSERVER_MAX_ACTIVE_INSTANCES:-} volumes: - puppetserver-code:/etc/puppetlabs/code/ - puppetserver-config:/etc/puppetlabs/puppet/ $ cat .env PUPPETSERVER_MAX_ACTIVE_INSTANCES=2 puppet_1 | 2019-10-30 21:53:21,131 INFO [p.s.j.i.jruby-agents] Finished creating JRubyInstance 2 of 2 For my tests I was using puppetserver 5.3.7. On Wed, Oct 23, 2019 at 4:54 PM Michael Gale <gale.mich...@gmail.com> wrote: > Hello, > > I am using https://github.com/puppetlabs/pupperware to deploy puppet > server 5.3.7 and am having a hard time adjusting the jruby > max-active-instances. > > I was following the docs from here: > https://hub.docker.com/r/puppet/puppetserver/ > and set my environment var PUPPETSERVER_MAX_ACTIVE_INSTANCES to 4 in my > .env file and updated my docker-compose.yml: > > --snip-- > - PUPPETSERVER_JAVA_ARGS=${PUPPETSERVER_JAVA_ARGS:-} > -PUPPETSERVER_MAX_ACTIVE_INSTANCES=${PUPPETSERVER_MAX_ACTIVE_INSTANCES:-} > --snip-- > > I don't think it is working because in see the following in the logs: > --snip-- > puppet_1 | 2019-10-23 22:50:03,199 INFO [p.s.j.i.jruby-internal] > Creating JRubyInstance with id 1. > puppet_1 | 2019-10-23 22:50:19,088 INFO [p.s.j.i.jruby-agents] > Finished creating JRubyInstance 1 of 1 > --snip-- > > Am I setting it correctly? > > Thanks > Michael > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CA%2BYXe5mAqk%2B7rnkJ%3DnqA0O3GdmrjuWpv7ngadzAiPYHyQti86Q%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CA%2BYXe5mAqk%2B7rnkJ%3DnqA0O3GdmrjuWpv7ngadzAiPYHyQti86Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Morgan Rhodes Release Engineering mor...@puppet.com she/her/hers -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2BFnDv3cE8hv%2BjLw7bzG6qJFpby%3D0FjHYiiKvNBD9pqOzFqgfA%40mail.gmail.com.