final commit

This commit is contained in:
Newzy Developer committed 2026-10-30 12:10:49 +00:00
1 parent 0ffbba3bed
commit 7b242b8685
39 files changed
+5524 -65

No files matched your search

+22 -17
View File
@@ -1,21 +1,6 @@
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
@@ -24,11 +9,31 @@ services:
- "8000:8000"
volumes:
- ./data/db:/app/data/db
environment:
- DATABASE_URL=sqlite:///./data/db/newzy.db
env_file:
- .env
depends_on:
backend-db:
condition: service_healthy
networks:
- newzy-network
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
depends_on:
backend:
condition: service_healthy
networks:
- newzy-network
restart: unless-stopped
networks:
newzy-network:
driver: bridge
ipam:
config:
- subnet: 172.28.0.0/16