docker-compose.yml: add envTELEGRAM_URL_SEND_AUTH_MESSAGE
This commit is contained in:
parent
ab1e8d44c9
commit
718ebf525d
@ -23,7 +23,7 @@ const envSchema = z.object({
|
||||
.string()
|
||||
.transform((val) => Number.parseInt(val, 10))
|
||||
.default('6379'),
|
||||
TELEGRAM_SERVICE_URL_SEND_MESSAGE: z.string(),
|
||||
TELEGRAM_URL_SEND_AUTH_MESSAGE: z.string(),
|
||||
});
|
||||
|
||||
export default envSchema;
|
||||
|
||||
@ -66,7 +66,7 @@ export class LdapTfaController extends LdapController {
|
||||
this.cacheManager.set(authId, user);
|
||||
|
||||
return axios
|
||||
.get(env.TELEGRAM_SERVICE_URL_SEND_MESSAGE, {
|
||||
.get(env.TELEGRAM_URL_SEND_AUTH_MESSAGE, {
|
||||
params: {
|
||||
authId,
|
||||
employeeID,
|
||||
|
||||
@ -27,6 +27,7 @@ services:
|
||||
- COOKIE_TOKEN_MAX_AGE=${COOKIE_TOKEN_MAX_AGE}
|
||||
- REDIS_HOST=redis
|
||||
- MONGO_HOST=mongo
|
||||
- TELEGRAM_URL_SEND_AUTH_MESSAGE=${TELEGRAM_URL_SEND_AUTH_MESSAGE}
|
||||
restart: always
|
||||
networks:
|
||||
- auth_network
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user