작성
·
1.3K
·
수정됨
0
docker-compose up 을 치면
services.db.environment.volumes must be a string, number, boolean or null
이라는 에러가나옵니다
강의랑 똑같이 한거같은데 제가 놓친게있을까요?
version: '3'
services:
db:
image: postgres:latest
container_name: postgres
restart: always
ports:
- '5432:5432'
environment:
POSTGRES_USER: '${DB_USER_ID}'
POSTGRES_PASSWORD: '${DB_USER_PASSWORD}'
volumes:
- ./data:/var/lib/postgressql/data