SERVER_PORT=<%= config.serverPort %>
SERVER_HOST=<%= config.serverHost %>:<%= config.serverPort %>

PASSPORT_SESSION_SECRET=<%= config.passportSessionSecret %>

<% if(config.wantedDocker === 'Yes') { %>
MONGODB_URL='mongodb://mongodb:27017/app'

REDIS_URL=redis://redis:6379
REDIS_HOST=redis
<% } %>

<% if(config.wantedDocker === 'No') { %>
MONGODB_URL=mongodb://localhost:27017/app

REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
<% } %>

<% if(config.wantedAdminPanel === 'Yes') { %>
ADMIN_COOKIE_NAME=name
ADMIN_COOKIE_PASSWORD=password
<% } %>

MAILER_USERNAME=<%= config.mailerUsername %>
MAILER_PORT=<%= config.mailerPort %>
MAILER_PASSWORD=<%= config.mailerPassword %>
MAILER_FROM_EMAIL=<%= config.mailerFromEmail %>
MAILER_HOST=<%= config.mailerSmtp %>
