Add frontend project structure with React/TypeScript setup

This commit is contained in:
Newzy Developer committed 2026-10-30 10:53:31 +00:00
1 parent c7abb73c66
commit 6914a6855c
58 files changed
+9056 -236

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
version: '3.8'
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
volumes:
- ./data:/usr/share/nginx/html
environment:
- REACT_APP_API_URL=http://localhost:8000/api
depends_on:
- backend
networks:
- newzy-network
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./data/db:/app/data/db
environment:
- DATABASE_URL=sqlite:///./data/db/newzy.db
networks:
- newzy-network
networks:
newzy-network:
driver: bridge