feat: add web UI service to docker-compose

- Add Dockerfile for React web application
- Add nginx configuration for API proxying
- Add web service to docker-compose.yml
- Web UI now accessible on port 3000
- API requests proxied to backend server on port 8080
This commit is contained in:
Fimeg
2025-10-29 15:12:20 -04:00
parent 8252b9edd5
commit 8abbacbec4
3 changed files with 72 additions and 0 deletions

View File

@@ -42,6 +42,17 @@ services:
command: ["./redflag-server"]
restart: unless-stopped
web:
build:
context: ./aggregator-web
dockerfile: Dockerfile
container_name: redflag-web
ports:
- "3000:80"
depends_on:
- server
restart: unless-stopped
volumes:
postgres-data:
server-data: