diff --git a/server/deploy-spring.sh b/server/deploy-spring.sh index dca2d14..77713d5 100644 --- a/server/deploy-spring.sh +++ b/server/deploy-spring.sh @@ -23,7 +23,7 @@ fi # 1 새로운 서버를 띄운다 docker login $NCP_SPRING_REGISTRY -u $NCP_DOCKER_ACCESS_KEY_ID -p $NCP_DOCKER_SECRET_KEY docker pull $NCP_SPRING_REGISTRY/catchy-tape-sub:latest -docker run -v /home/hyung/logs:/catchy-tape-sub/logs -d -p $WEB_SERVER_TARGET_PORT:8080 --name $TARGET_SERVER_NAME $NCP_SPRING_REGISTRY/catchy-tape-sub:latest +docker run -v /home/hyung/logs:/catchy-tape-sub/logs -d --net redis-bridge -p $WEB_SERVER_TARGET_PORT:8080 --name $TARGET_SERVER_NAME $NCP_SPRING_REGISTRY/catchy-tape-sub:latest # 2 nginx 포트 설정 변경 후 reload NGINX_CONFIG="/etc/nginx/nginx.conf" diff --git a/server/deploy.sh b/server/deploy.sh index 91e838e..e6d6f01 100644 --- a/server/deploy.sh +++ b/server/deploy.sh @@ -23,7 +23,7 @@ fi # 1 새로운 서버를 띄운다 docker login $NCP_REGISTRY -u $NCP_DOCKER_ACCESS_KEY_ID -p $NCP_DOCKER_SECRET_KEY docker pull $NCP_REGISTRY/catchy-tape:latest -docker run -v /home/hyung/logs:/catchy-tape/logs -d -p $WEB_SERVER_TARGET_PORT:3000 --name $TARGET_SERVER_NAME $NCP_REGISTRY/catchy-tape:latest +docker run -v /home/hyung/logs:/catchy-tape/logs -d --net redis-bridge -p $WEB_SERVER_TARGET_PORT:3000 --name $TARGET_SERVER_NAME $NCP_REGISTRY/catchy-tape:latest # 2 nginx 포트 설정 변경 후 reload NGINX_CONFIG="/etc/nginx/nginx.conf" diff --git a/server/nest/src/app.controller.spec.ts b/server/nest/src/app.controller.spec.ts index 1a80a78..6db80dd 100644 --- a/server/nest/src/app.controller.spec.ts +++ b/server/nest/src/app.controller.spec.ts @@ -16,7 +16,7 @@ describe('AppController', () => { describe('root', () => { it('should return "Hello World!"', () => { - expect(appController.getHello()).toBe('Catchy Tape!'); + expect(appController.getHello()).toBe('Hello Catchy Tape'); }); }); }); diff --git a/server/nest/src/app.service.ts b/server/nest/src/app.service.ts index 6af0e16..2ee7c44 100644 --- a/server/nest/src/app.service.ts +++ b/server/nest/src/app.service.ts @@ -3,6 +3,6 @@ import { Injectable } from '@nestjs/common'; @Injectable() export class AppService { getHello(): string { - return 'Catchy Tape!'; + return 'Hello Catchy Tape'; } }