Added Dockersupport. See README_DOCKER.md for further instructions.
This commit is contained in:
parent
8fca19a2a1
commit
83dd18eaa7
6 changed files with 133 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ Foodsoft::Application.configure do
|
|||
# Mailcatcher config, start mailcatcher from console with 'mailcatcher'
|
||||
# Mailcatcher can be installed by gem install mailcatcher
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
|
||||
config.action_mailer.smtp_settings = { address: "mailcatcher", port: 1025 }
|
||||
|
||||
# Run resque tasks as part of the main app (not recommended for production)
|
||||
Resque.inline = true
|
||||
|
|
|
|||
2
config/initializers/resque.rb
Normal file
2
config/initializers/resque.rb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Initializer to configure resque daemon
|
||||
Resque.redis = ENV.fetch("REDIS_URL", "redis://localhost:6379")
|
||||
Loading…
Add table
Add a link
Reference in a new issue