Skip to content

Commit

Permalink
fix: nginx 실행 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin0o0 committed Nov 5, 2023
1 parent 08d9cfe commit 6499aec
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
version: '3.4'

services:
nginx:
container_name: nginx
image: chy0310/nginx
redis:
container_name: redis
image: redis
Expand All @@ -10,14 +13,12 @@ services:
container_name: khumon
image: chy0310/khumon
ports:
- 8080:8080
- "8080:8080"
depends_on:
- redis
nginx:
container_name: nginx
image: chy0310/nginx
depends_on:
- khumon





# ports는 외부 컨테이너에서 80 포트로 진입 시 80 포트로 넘겨준다는 뜻이며,
Expand Down

0 comments on commit 6499aec

Please sign in to comment.