version: '3.9'
# Frontend and node client development orchestration
name: robosats-web-frontend
services:
  frontend:
    build: ../frontend
    container_name: web-dev-frontend
    restart: always
    command: npm run dev

  nginx:
    build: .
    container_name: web-dev-nginx
    restart: always
    volumes:
      - ./:/usr/src/robosats/
      - ./nginx.conf:/etc/nginx/nginx.conf
      - ./coordinators/:/etc/nginx/conf.d/
    ports:
      - 80:80