Closed zulhfreelancer closed 8 years ago
Currently, the only way to turn off those warnings are to follow their instruction and change your application.yml
file to use quoted string values.
@laserlemon please give me an example where to change application.yml file to use quoted string values.
defaults: &defaults TIMEZONE: 'Paris'
redis://:[password]@[hostname]:[port]/[db]
REDIS_URL: redis://localhost:6379
ADMIN: 'admin@peatio.tech'
URL_HOST: peatio.tech URL_SCHEME: http FORCE_SECURE_CONNECTION: 'false' # Set to "true" to disable access via unsecured HTTP, send HSTS headers and use secure cookies.
SESSION_LIFETIME: '3600'
LOG_LEVEL: ~ # Default level for production is warn, otherwise – debug.
OAUTH2_SIGN_IN_PROVIDER: ~
GOOGLE_CLIENT_ID: GOOGLE_CLIENT_SECRET: GOOGLE_OAUTH2_REDIRECT_URL: ~ # Specify URL address to which user will be redirected after successful sign in.
AUTH0_OAUTH2_DOMAIN: AUTH0_OAUTH2_CLIENT_ID: AUTH0_OAUTH2_CLIENT_SECRET: AUTH0_OAUTH2_REDIRECT_URL: ~ # Specify URL address to which user will be redirected after successful sign in.
#
BARONG_CLIENT_ID: ~ BARONG_CLIENT_SECRET: ~ BARONG_DOMAIN: ~ BARONG_OAUTH2_REDIRECT_URL: ~ # Specify URL address to which user will be redirected after successful sign in.
#
API_CORS_ORIGINS: '*' API_CORS_ALLOW_CREDENTIALS: ~
SENTRY_DSN_BACKEND: ~ # Specify Sentry DSN used for Rails application. SENTRY_DSN_FRONTEND: ~ # Specify Sentry DSN used for JavaScript application.
METADATA_TITLE: Peatio Exchange METADATA_DESCRIPTION: The Opensource Cryptocurrency Exchange METADATA_KEYWORDS: Peatio,Opensource,Exchange,Cryptocurrency
BANK_DETAILS_HTML: |
<div>Bank: National Bank of World</div>
<div>Account: 1234567890</div>
DISABLE_MARKETS_UI: ~
DISABLE_CABINET_UI: ~
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# JWT_PUBLIC_KEY: ~ JWT_ALGORITHM: RS256 # JWT signing algorithm (mandatory). JWT_ISSUER: ~ # JWT issuer name (optional). JWT_AUDIENCE: peatio # Could be comma-separated value (optional). JWT_DEFAULT_LEEWAY: ~ # Seconds (optional). JWT_ISSUED_AT_LEEWAY: '180' # Seconds (optional). JWT_EXPIRATION_LEEWAY: ~ # Seconds (optional). JWT_NOT_BEFORE_LEEWAY: ~ # Seconds (optional).
TEST_SERVER_HOST: 127.0.0.1 TEST_SERVER_PORT: '3000' TEST_APP_HOST: peatio.tech TEST_APP_PORT: '80'
SCOUT_KEY: ~ # Your organization key for Scout APM. Found on the settings screen. SCOUT_APP_NAME: ~ # Application name in APM Web UI. SCOUT_LOG_LEVEL: warn # Verboseness of logs (debug, info, warn, error) SCOUT_ENV: production # List of Rails environments for which Scout should be enabled.
DISPLAY_CURRENCY: usd
MINIMUM_MEMBER_LEVEL_FOR_DEPOSIT: '3' MINIMUM_MEMBER_LEVEL_FOR_WITHDRAW: '3' MINIMUM_MEMBER_LEVEL_FOR_TRADING: '3'
#
# EVENT_API_JWT_PRIVATE_KEY: ~ # Private key. Must be URL-safe Base64 encoded in PEM format. EVENT_API_JWT_ALGORITHM: RS256
EVENT_API_RABBITMQ_URL: ~ EVENT_API_RABBITMQ_HOST: localhost EVENT_API_RABBITMQ_PORT: "5672" EVENT_API_RABBITMQ_USERNAME: guest EVENT_API_RABBITMQ_PASSWORD: guest
RANGER_HOST: '0.0.0.0' RANGER_PORT: '8081' RANGER_CONNECT_SECURE: false
BULLET: 'false'
development: <<: *defaults
OAUTH2_SIGN_IN_PROVIDER: google
GOOGLE_CLIENT_ID: 1044454023387-emhp5vmfnp5cf1n9juk09g8gcckrova7.apps.googleusercontent.com GOOGLE_CLIENT_SECRET: tAFZvO200-0z3MpCyOpkPH0G
AUTH0_OAUTH2_DOMAIN: peatio-playground.auth0.com AUTH0_OAUTH2_CLIENT_ID: lGKS9ADpknQr415RNZrrQTf3Jh8k2Fvc AUTH0_OAUTH2_CLIENT_SECRET: LxUPnrrrpRHSB-vVgWU3TwmakQ8acY5mYVTaVgkREQL3i9avjpOnWTXSS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y0Vldy9HWXR4VkpCTWEyODVpVQpaVUtkeCt6QWd5VFlnYk50VkVseTVobGRuT2orVmNzanVEL3krWEhXWVl5OVpLa2pNdDhECi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==
test: <<: *defaults
production: <<: *defaultsroot@back:~/peatio-1-9-stable#
@UbuntuEvangelist how about here:
RANGER_CONNECT_SECURE: false
Everytime I run my rails console on enter heroku rails console, I got this:
I'm aware of that. How do I turn this warnings off?
Thanks.