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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user