Skip to content

Commit b53ef54

Browse files
committed
chore: build: front+back - fix zero-downtime deployment
- Fixed rest-api image naming (docsplus-rest-api vs docsplus-hocuspocus) - Added graceful shutdown (30s grace period) to all services - Fixed deployment downtime issue (scale up then down instead of force-recreate) - Updated to docker compose v2 syntax"
1 parent 1049504 commit b53ef54

File tree

8 files changed

+1582
-741
lines changed

8 files changed

+1582
-741
lines changed

.cursor/rules/supabase.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
description:
32
globs: **/*.sql
43
alwaysApply: false
54
---
@@ -163,13 +162,14 @@ create policy "Users can view their own data"
163162
## ☑️ Optional Helpers
164163

165164
- Add UUID default generator if required:
165+
166166
```sql
167167
id uuid primary key default gen_random_uuid()
168168
```
169+
169170
- Use `now()` for timestamps.
170171
- Default status columns to enums or safe values.
171172

172173
---
173174

174175
Use this guide to keep SQL predictable, maintainable, and safe. All features used in PostgreSQL and Supabase should follow this format to ensure clarity and ease of maintenance.
175-

0 commit comments

Comments
 (0)