docs and api mostly work

This commit is contained in:
2026-01-03 13:18:42 -07:00
parent 81ea22eae9
commit 55b0a698d0
11 changed files with 181 additions and 23 deletions

View File

@@ -43,23 +43,12 @@ services:
build: ./frontend
container_name: daily-journal-prompt-frontend
ports:
- "3000:80" # Production
- "3001:3000" # Development
- "3000:80" # Production frontend on nginx
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- NODE_ENV=${NODE_ENV:-development}
develop:
watch:
- action: sync
path: ./frontend/src
target: /app/src
ignore:
- node_modules/
- dist/
- action: rebuild
path: ./frontend/package.json
- NODE_ENV=${NODE_ENV:-production}
depends_on:
backend:
condition: service_healthy
@@ -74,7 +63,7 @@ services:
target: builder
container_name: daily-journal-prompt-frontend-dev
ports:
- "3000:3000"
- "3001:3000" # Development server on different port
volumes:
- ./frontend:/app
- /app/node_modules