Skip to content

Commit

Permalink
Fix: docker compose db 헬스체크 스크립트 오류 수정
Browse files Browse the repository at this point in the history
- 환경 변수를 지정을 제대로 안해줘서 healthcheck가 제대로 안되고 있던 문제 수정
  • Loading branch information
rockpell committed Feb 26, 2022
1 parent c264d84 commit 67b36d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- TZ=Asia/Seoul
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
healthcheck:
test: 'mysqladmin ping -h localhost -u $$DB_USER_NAME --password=$$DB_USER_PASSWORD'
test: 'mysqladmin ping -h localhost -u ${DB_USER_NAME} --password=${DB_USER_PASSWORD}'
interval: 5s
timeout: 1s
retries: 10
Expand Down

0 comments on commit 67b36d1

Please sign in to comment.