27 lines
622 B
Docker
27 lines
622 B
Docker
# Shared secrets are available across all environments.
|
|
|
|
# shared:
|
|
# api_key: a1B2c3D4e5F6
|
|
|
|
# Environmental secrets are only available for that specific environment.
|
|
|
|
default: &default
|
|
secret_key_base: CHANGE_ME
|
|
admin:
|
|
email: <%= ENV['ADMIN_MAIL'] %>
|
|
password: <%= ENV['ADMIN_PASSWORD'] %>
|
|
|
|
development:
|
|
<<: *default
|
|
|
|
test:
|
|
<<: *default
|
|
|
|
# Do not keep production secrets in the unencrypted secrets file.
|
|
# Instead, either read values from the environment.
|
|
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
|
# and move the `production:` environment over there.
|
|
|
|
production:
|
|
<<: *default
|