soketi / echo-server

Echo Server is a Docker-ready, multi-scalable Node.js application used to host your own Socket.IO server for Laravel Broadcasting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty values in .env are ignored instead of parsed

elbojoloco opened this issue · comments

commented

This is my .env

APPS_MANAGER_DRIVER=mysql
MYSQL_PASSWORD=""
MYSQL_DATABASE=soketi

This is the output of the start command:

 database: {
    redis: { host: '127.0.0.1', port: 6379, password: null, keyPrefix: '' },
    mysql: {
      host: '127.0.0.1',
      port: 3306,
      user: 'root',
      password: 'password',
      database: 'soketi'
    },
    postgres: {
      host: '127.0.0.1',
      port: 5432,
      user: 'root',
      password: 'password',
      database: 'main'
    },
    local: {},
    prometheus: { host: '127.0.0.1', port: 9090, protocol: 'http' }
  },

The mysql password is set to the default value of "password" even when explicitly defined as empty string in .env