강의

멘토링

커뮤니티

Inflearn Community Q&A

hupark03134672's profile image
hupark03134672

asked

Learn Docker and CI environment by following [2023.11 update]

Writing a Docker Compose File

docker-compose up 명령어 실행 후 에러가 발생합니다.

Written on

·

2.5K

0

RROR: The Compose file './docker-compose.yml' is invalid because:

services.nginx.ports contains an invalid type, it should be an array

위 에러가 나는데 왜 그런 걸까요??

travis-ci데이터 엔지니어링cicddockergithubaws

Answer 1

0

조심스럽게 말씀드리자면,

docker-compose.yml 파일에 nginx에 컨테이너 부분에 

    ports:
     - '3000:80'

이 부분에 오타가 없는지 한번 확인 해주실 수 있을까요??

hupark03134672's profile image
hupark03134672

asked

Ask a question