Dokku deploy setup (#1)

* fix: remove config.key from Dockerfile

* refactor: remove redis

* chore: update README

* feat: precompile assets on build Dockerfile
This commit is contained in:
Juan Rodriguez
2023-03-26 19:00:09 +02:00
committed by GitHub
parent 38ce72618a
commit 63acab3cf7
9 changed files with 50 additions and 45 deletions
+1 -3
View File
@@ -5,6 +5,4 @@ test:
adapter: async
production:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: app_production
adapter: async
+1 -1
View File
@@ -1 +1 @@
ixtsTt2O/bqumywSaldHxkihLw2+zumFOL1B0NtK6lQ460IU6WZsnEFc02muVzP5t4Rn3zyZjaP74fZEgxqfRELE8pffCZTHCkaPeaeULgqwQJy9OVAkd0SHN0k8jRlFtNFKQvrzE7ngnbO+eX9ZwlotQlaUxAlSrOJ9av7OaRwCfMpMgjVbKZfxJvhFW0l+twV8hjdyXbuFuoS8g3VrsaEYvZOu+zz0QMwgK5WmOIQbvwn/VSWWHkRraPGPm+xpUyi8UmAVFjdT02zSEaaauaRhtSSNGz5ufYEPZMrs99iKw/HFpkUHs+R0tqafFT2CBw7ai+h9i/ZblYppJDw5PpnoqY/kneBsz2NT+a0eyL7ZS9YJit+M77Z40gULUapc03SzRlAXy3rrkVFGqIaHSKibOKfpn/KbL9D+--2hixMh1aBR3PcnjL--Tzv9NyC3MTTMHYHn8u5Lhw==
Wk6KXgfCMEdFwrlXhheO89gYdFLEemFYnWBHSKZ7rw73RRoHvVypao5sjPXsKEBG8yOfS2wHMf13VMcfWhGHX9ZJrm+Dav/QRz3cNkaJ2RLmgBDp0vjGpYQ4bQxJSHILYxFD6paiyrS89VsfM5yTl+Zmhhg1Kjc2DFeY6KClLAT+84rWkd+BoTb4VSLcP0RYLStvITr4G66SEDN3pUdoOgcHqCHDYsNZPhSQjkSOHftCjcHziIgHZmhboj6gMNk7R6mVhNc5mhhg68WuhXOR2UCdebxAGDKAtRjqSGWv0A6kwMO1yFQDRdYnURjKJCQxNACqd8XNh5hLuLvpeV04E6SivbF7uIapwtQdjL3Tq1+mSaGeYqduPpSSFiizINJa459Q6qxc2gev/pgPvY8vdwB/iMQznUj3he6Q--aLOyL+GzKtf/En3Q--pI05hACTxEqi2bHlVD6QGg==
+2 -2
View File
@@ -18,7 +18,7 @@ Rails.application.configure do
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
# config.require_master_key = true
config.require_master_key = true
# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
@@ -58,7 +58,7 @@ Rails.application.configure do
# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
config.cache_store = :redis_cache_store, { url: ENV['REDIS_URL'] }
config.cache_store = :memory_store
# Use a real queuing backend for Active Job (and separate queues per environment)
# config.active_job.queue_adapter = :resque
+1 -1
View File
@@ -83,7 +83,7 @@ production:
<<: *default
# Production depends on precompilation of packs prior to booting for performance.
compile: false
compile: true
# Extract and emit a css file
extract_css: true