chore: added env_file property to SH-backend docker-compose file

This commit is contained in:
Balu Babu
2023-02-08 14:41:05 +05:30
parent 7fde6db9d1
commit 856752db21
2 changed files with 3 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ version: '3.0'
services:
local:
build: .
env_file:
- .env
command: [ "pnpm", "run", "start:dev" ]
environment:
- PRODUCTION=false

View File

@@ -54,7 +54,7 @@ export const authCookieHandler = (
};
/**
* Sets and returns the cookies in the response object on successful authentication
* Decode the cookie header from incoming websocket connects and returns a auth token pair
* @param rawCookies cookies from the websocket connection
* @returns AuthTokens for JWT strategy to use
*/