Empty values in .env are ignored instead of parsed
elbojoloco opened this issue · comments
Lucas 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