FEAT: dev docker

This commit is contained in:
Gabriel Rosa
2024-08-16 21:59:23 +00:00
parent 9876eab521
commit 5038c7845f
20 changed files with 80 additions and 55 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ import {
} from '@nestjs/microservices';
import { ConnectionManager } from '@dadosfera/protospack-v2';
const isLocalConnection = !!process.env.INFACTORY_URL?.includes('0.0.0.0');
const isLocalConnection =
process.env.INFACTORY_URL.startsWith('in-factory:') ||
process.env.INFACTORY_URL.includes('0.0.0.0');
export class ConnectionClientConfiguration {
public name = 'ConnectionClientConfiguration';