chore: added new env fields

This commit is contained in:
Hackntosh 2024-01-30 21:29:45 +00:00
parent 34944d9000
commit d55a2dedba
3 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,7 @@ REDIS_PASSWORD=<same_as_defined_in_docker_compose_file>
# Fastify
SERVER_PORT=<placeholder>
CLIENT_URL=<placeholder>
SERVER_HOST=<placeholder>
# Security
JWT_ACCESS_SECRET=<placeholder>

View file

@ -17,6 +17,7 @@ REDIS_PASSWORD=<same_as_defined_in_docker_compose_file>
# Fastify
SERVER_PORT=<placeholder>
SERVER_HOST=<placeholder>
# Security
JWT_ACCESS_SECRET=<placeholder>

View file

@ -46,6 +46,6 @@ async function bootstrap() {
await app.register(helmet);
await app.listen(3000, "0.0.0.0");
await app.listen(process.env.SERVER_PORT, process.env.SERVER_HOST);
}
bootstrap();