docs and api mostly work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user