-
Notifications
You must be signed in to change notification settings - Fork 31
Mike Perham edited this page Dec 21, 2018
·
3 revisions
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://:[email protected]: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://:[email protected]:7419
FAKTORY_PROVIDER=FAKTORYTOGO_URL
bundle exec faktory-worker