Files
MorkNetVisualizer/docker-compose.yml
T

30 lines
669 B
YAML

services:
backend:
build: ./backend
restart: unless-stopped
env_file: ./backend/.env
volumes:
- ./data:/data
ports:
- "2055:2055/udp" # NetFlow/IPFIX collector from UDR
networks:
- netmap
frontend:
build:
context: ./frontend
args:
# When nginx proxies /ws internally, the browser connects to the same host:port
REACT_APP_WS_URL: "" # leave blank — nginx proxies /ws to backend
restart: unless-stopped
ports:
- "3500:80" # Access at http://<LXC-IP>:3500
depends_on:
- backend
networks:
- netmap
networks:
netmap:
driver: bridge