fix: pinned posts not sorted to top + compose pulls GHCR image
- posts API: ORDER BY is_pinned DESC, pinned_at DESC NULLS LAST before sort (matches upstream) — pinned posts now appear first - docker-compose: app service pulls ghcr.io/lezi-fun/forumlify-deploy:next instead of local build (auto-rebuilt on push)
This commit is contained in:
1 parent
d265caa5bf
commit
7c6b816ac7
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -13,7 +13,8 @@ services:
|
||||
- "5432:5432"
|
||||
|
||||
app:
|
||||
build: .
|
||||
# 从 GHCR 拉取镜像(每次 push next 自动重建),不再本地构建
|
||||
image: ghcr.io/lezi-fun/forumlify-deploy:next
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
@@ -24,6 +25,7 @@ services:
|
||||
PORT: 3000
|
||||
volumes:
|
||||
- ./uploads:/app/uploads
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
Reference in new issue
Block a user