Files
routeros-traffic/docker-compose.yml
Mateusz Gruszczyński 5429f176c9 first commit
2026-03-04 15:21:03 +01:00

29 lines
540 B
YAML

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
env_file:
- ./backend/.env
ports:
- "8000:8000"
volumes:
- mt_traffic_data:/data
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
environment:
- NEXT_PUBLIC_API_BASE=http://localhost:8000
- NEXT_PUBLIC_WS_BASE=ws://localhost:8000
ports:
- "3000:3000"
depends_on:
- backend
restart: unless-stopped
volumes:
mt_traffic_data: