fix: TS errors + Docker Compose running locally

- Removed unused imports (PublicRoute, GripVertical, addFromRecipe, X, ShoppingGroup)
- Fixed HouseholdCard unused var
- Fixed ShoppingPage household query (missing queryFn)
- Killed tmux sessions, app runs fully on Docker now
- 3 containers: db (postgres:17), backend (node:22), frontend (nginx)
This commit is contained in:
clawd
2026-02-18 17:31:31 +00:00
parent 301e42b1dc
commit cc8e2482e9
8 changed files with 23 additions and 23 deletions

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
db:
image: postgres:17-alpine
@@ -10,6 +8,8 @@ services:
POSTGRES_PASSWORD: ${DB_PASSWORD:-luna-recipes-secret-2026}
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "127.0.0.1:5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U luna -d luna_recipes"]
interval: 5s
@@ -30,7 +30,7 @@ services:
PORT: "6001"
NODE_ENV: production
ports:
- "127.0.0.1:6001:6001"
- "6001:6001"
frontend:
build: ./frontend
@@ -38,7 +38,7 @@ services:
depends_on:
- backend
ports:
- "80:80"
- "6100:80"
volumes:
pgdata: