Added Dockersupport. See README_DOCKER.md for further instructions.

This commit is contained in:
Benjamin Meichsner 2015-04-26 15:20:05 +02:00
parent 8fca19a2a1
commit 83dd18eaa7
6 changed files with 133 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,2 @@
# Initializer to configure resque daemon
Resque.redis = ENV.fetch("REDIS_URL", "redis://localhost:6379")