mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 13:26:04 +01:00
c292f51957
* Add GitHub Actions config * Add extra dependencies and use environment variable for DB config Moved the env vars up to outside of the postgres service so this might not work * Pass environment variables for Postgres credentials to Postgres container * Pass service ports to application Have a suspicion that Redis one won't work as justask.yml is probably not using ERB * Add database.yml.postgres with port * Cache gems; pass Redis URL as env var * Add host to DB config * Pass DB credentials for db:setup * Use 127.0.0.1 instead of localhost to force TCP; Use bundler config without instead of --without * I can't read 🗑 * 🤔 * 💻🔨 I have no idea what I'm doing… * Testing env defined outside steps * Move templated vars down * Add build badge
9 lines
No EOL
218 B
Ruby
9 lines
No EOL
218 B
Ruby
redis_url = ENV.fetch("REDIS_URL") { APP_CONFIG["redis_url"] }
|
|
|
|
Sidekiq.configure_server do |config|
|
|
config.redis = { url: redis_url }
|
|
end
|
|
|
|
Sidekiq.configure_client do |config|
|
|
config.redis = { url: redis_url }
|
|
end |