#How to increase number of Workers in docker-compose

1 messages · Page 1 of 1 (latest)

blissful raptor
#

Hey,

I want to increase the number of workers in my deploymnet, to do it I have changed the .env

AUTHENTIK_WORKER__PROCESSES=2
AUTHENTIK_WORKER__THREADS=4

What I need to change in the docker-compose ? In order to spawn more 1 container ?

gritty harbor
#

you just need to duplicate the block for your worker

#

or if you're using something like docker swarm you can set replicas to 2

#

but realistically, 99% of homelab users have enough of 1 worker

blissful raptor
#

Is not a home lab environment 🙂

#

Thank you for your answer

fallen barn
gritty harbor
fallen barn
#

Note I haven’t tried it with Authentik, but it should “just work”

gritty harbor
#

oh btw your authentik is absolutly beautiful

fallen barn
#

The admin panel is kind of awful with it though fyi