We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac8e63b + 912e840 commit 74d958bCopy full SHA for 74d958b
.github/workflows/back-media-cd.yml
@@ -97,7 +97,7 @@ jobs:
97
98
- name: 🐳 media 컨테이너 실행
99
run: |
100
- docker run -dit --name media -p 3002:3002 -p 30000-30500:30000-30500/tcp -p 30000-30500:30000-30500/udp ${{secrets.DOCKER_REGISTRY_URL}}/media:${{ github.sha }}
+ docker run -dit --network host --name media ${{secrets.DOCKER_REGISTRY_URL}}/media:${{ github.sha }}
101
102
- name: 🐳 사용하지 않는 Docker 이미지 제거
103
apps/media/src/main.ts
@@ -8,7 +8,6 @@ async function bootstrap() {
8
9
const configService = app.get(ConfigService);
10
const port = configService.get<number>('MEDIA_SERVER_PORT') ?? 8080;
11
-
12
- await app.listen(port);
+ await app.listen(port, '0.0.0.0');
13
}
14
bootstrap();
0 commit comments