Add Redis, Sidekiq to Docker Compose setup #110
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/docker-compose_sidekiq"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Also adds a new cached setting for the Redis URL, which is used by Sidekiq and can later be used by other things (e.g. managing authorization tokens in Redis).
Furthermore, it changes Devise emails to be sent via ActiveJob/Sidekiq.
closes #96
Forgot to mention that this also changes Devise emails to be sent via Sidekiq. Updated the description.
@ -5,0 +7,4 @@
#
field :redis_url, type: :string, readonly: true,
default: ENV["REDIS_URL"] || "redis://localhost:6379/0"
Any particular reason why the DB part of the fallback URL is different from the one in the
.env.example
(0 vs 1)?Yes: it's because you don't need the environment variable if you want to use the default URL.