6b1598eebb
Move encryption keys to base64 password fields for easier Kamal secret management, and organize them at the root level.
11 lines
572 B
YAML
11 lines
572 B
YAML
shared:
|
|
apple:
|
|
key_id: <%= ENV["APNS_KEY_ID"] %>
|
|
encryption_key: <%= (ENV["APNS_ENCRYPTION_KEY_B64"] ? Base64.decode64(ENV["APNS_ENCRYPTION_KEY_B64"]) : ENV["APNS_ENCRYPTION_KEY"]&.gsub("\\n", "\n"))&.dump %>
|
|
team_id: <%= ENV["APNS_TEAM_ID"] || "2WNYUYRS7G" %>
|
|
topic: <%= ENV["APNS_TOPIC"] || "do.fizzy.app.ios" %>
|
|
connect_to_development_server: <%= Rails.env.local? %>
|
|
google:
|
|
encryption_key: <%= (ENV["FCM_ENCRYPTION_KEY_B64"] ? Base64.decode64(ENV["FCM_ENCRYPTION_KEY_B64"]) : ENV["FCM_ENCRYPTION_KEY"])&.dump %>
|
|
project_id: fizzy-a148c
|