Skip to content

Commit

Permalink
Merge pull request #128 from 42-world/fix/docker-compose-healthcheck
Browse files Browse the repository at this point in the history
Fix: docker compose db 헬스체크 스크립트 오류 수정
  • Loading branch information
mimseong authored Feb 27, 2022
2 parents c264d84 + 67b36d1 commit e898786
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 e898786

Please sign in to comment.