openc3-cosmos-script-runner-api/config/cable.yml
development:
adapter: redis
url: <%= "redis://#{ENV['OPENC3_REDIS_USERNAME']}:#{ENV['OPENC3_REDIS_PASSWORD']}@#{ENV['OPENC3_REDIS_HOSTNAME']}:#{ENV['OPENC3_REDIS_PORT']}" %>
# The channel_prefix is used in scripts/run_script.rb to subscribe to the channel
# and app/models/running_script.rb to publish to the channel
channel_prefix: script-api
test:
adapter: test
production:
adapter: redis
url: <%= "redis://#{ENV['OPENC3_REDIS_USERNAME']}:#{ENV['OPENC3_REDIS_PASSWORD']}@#{ENV['OPENC3_REDIS_HOSTNAME']}:#{ENV['OPENC3_REDIS_PORT']}" %>
# The channel_prefix is used in scripts/run_script.rb to subscribe to the channel
# and app/models/running_script.rb to publish to the channel
channel_prefix: script-api