Skip to content

yc test#11

Open
Ryu-Yechan wants to merge 3 commits intoyayyz:mainfrom
Ryu-Yechan:Ryu-Yechan
Open

yc test#11
Ryu-Yechan wants to merge 3 commits intoyayyz:mainfrom
Ryu-Yechan:Ryu-Yechan

Conversation

@Ryu-Yechan
Copy link

No description provided.

environment:
- NGINX_HOST=localhost
volumes:
- ./html:C:\Users\fbdpc\docker-sandbox\day3\prac2\html
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

로컬 경로를 마운트 하면 다른 OS환경의 사용자들이 이 docker-compose 파일을 사용 못합니다!
볼륨을 지정해서 사용하는 걸로 수정해주세요!

name: myproject
services:
web:
image: nginx:latest
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nginx가 아닌 Python flask app 제출이 요구사항입니다.
README.md 참고해주세요

Copy link
Owner

@yayyz yayyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분 하나만 더 확인 부탁드립니다!

- ./app:/app
networks:
- app_net
depends_on:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depends_on 은 단순히 실행 순서만 보장하고, redis의 상태에 기반해서 실행하지는 않습니다!
몇가지 항목들이 더 추가되어야 할 것 같아요!
condition 과 같은 항목 참고 부탁드립니다 :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

쉽지않네요, ㅎㅎ 다시 수정했습니다. 또이상있으면 오후에 고치겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants