diff --git a/src/account/account.ts b/src/account/account.ts index e1a04008..44feaeeb 100644 --- a/src/account/account.ts +++ b/src/account/account.ts @@ -17,7 +17,7 @@ export const MICROSERVICE = config.microservice.account; export const PORT = config.microservice.port; // URL to mongoDB cluster -export const URL = `mongodb+srv://${USR}:${PSW}@${CLUS}.cgornhw.mongodb.net/Luminosity`; +export const URL = process.env.MONGO_DB_URL ?? ""; // Creates an Express application export const app = express(); diff --git a/src/notification/docker-compose.yaml b/src/notification/docker-compose.yaml index 650ca949..d44e4b1d 100644 --- a/src/notification/docker-compose.yaml +++ b/src/notification/docker-compose.yaml @@ -1,41 +1,43 @@ -version: "3" -services: - publish-service: - container_name: "publish-service" - build: - context: './publish' - env_file: - - ./.env - volumes: - - ./publish:/app - ports: - - 4000:4000 - networks: - - microservice - depends_on: - - activemq +# version: "3" +# services: +# publish-service: +# container_name: "publish-service" +# build: +# context: './publish' +# env_file: +# - ./.env +# volumes: +# - ./publish:/app +# ports: +# - 4000:4000 +# networks: +# - microservice +# depends_on: +# - activemq - subscribe-service: - container_name: subscribe-service - build: - context: './subscribe' - env_file: - - ./.env - volumes: - - ./subscribe:/app - networks: - - microservice - depends_on: - - activemq +# subscribe-service: +# container_name: subscribe-service +# build: +# context: './subscribe' +# env_file: +# - ./.env +# volumes: +# - ./subscribe:/app +# networks: +# - microservice +# depends_on: +# - activemq - activemq: - image: rmohr/activemq - container_name: activemq - networks: - - microservice - ports: - - "8161:8161" - - "1883:1883" +# activemq: +# image: rmohr/activemq +# container_name: activemq +# networks: +# - microservice +# ports: +# - "8161:8161" +# - "1883:1883" -networks: - microservice: \ No newline at end of file +# networks: +# microservice: + +# TODO: DEPRECATED/REMOVED AFTER VERSION 1.0 \ No newline at end of file