Skip to content

What things do Fief Workers do? #309

Answered by frankie567
ScottFred asked this question in Q&A
Discussion options

You must be logged in to vote

Fief requires to have a worker running to work properly. This is where happens all the background logic, like email sending, roles/permissions updates, tokens cleanup, etc.

To ease things and get started quickly, our Docker image starts a supervisord process which will spawn all the required processes (the server, the worker and a Redis server):

[supervisord]
nodaemon=true
[program:redis]
command=redis-server
[program:fief-server]
command=fief run-server --port %(ENV_PORT)s
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
redirect_stderr=true
[program:fief-work…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ScottFred
Comment options

Answer selected by ScottFred
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants