fix(docker): MinIO healthcheck curl probe + Redis password in .env.example

- Change MinIO healthcheck from `mc ready local` to curl-based probe
  (`curl -sf http://localhost:9000/minio/health/live`) in both
  docker-compose.yml and docker-compose.prod.yml, matching the
  approach already used in docker-compose.ci.yml
- Add descriptive placeholder for REDIS_PASSWORD in .env.example
  (was empty, now has CHANGE_ME_IN_PRODUCTION reminder)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-15 11:23:34 +07:00
parent 20b79acf08
commit eebe24e1ae
4 changed files with 40 additions and 2 deletions

View File

@@ -15,6 +15,12 @@ export interface InquiryReadDto {
createdAt: string;
}
export interface CreateInquiryDto {
listingId: string;
message: string;
phone: string;
}
export interface PaginatedResult<T> {
data: T[];
total: number;
@@ -56,4 +62,8 @@ export const inquiriesApi = {
/** Mark an inquiry as read */
markAsRead: (id: string) =>
apiClient.patch<{ success: boolean }>(`/inquiries/${id}/read`),
/** Create a new inquiry for a listing */
create: (data: CreateInquiryDto) =>
apiClient.post<InquiryReadDto>('/inquiries', data),
};