Skip to content
Mike Perham edited this page Dec 21, 2018 · 3 revisions

How do I point FWR to a remote Faktory server?

You can point FWR to a custom Faktory location via the FAKTORY_PROVIDER and FAKTORY_URL environment variables. There is no way to customize the location in code, by design. Here's an example URL for a Faktory server that requires both TLS and password authentication.

FAKTORY_URL=tcp+tls://:somepassword@faktory.example.com:7419 bundle exec faktory-worker

or with a custom-named URL variable (e.g. useful if you are getting Faktory as a service, via a 3rd party addon):

FAKTORYTOGO_URL=tcp+tls://:somepassword@faktory.example.com:7419
FAKTORY_PROVIDER=FAKTORYTOGO_URL
bundle exec faktory-worker
Clone this wiki locally