version: '3.8' services: dev-api: image: node:20 container_name: rx_dev_api network_mode: "host" working_dir: /app volumes: - ./dental-server:/app - /app/node_modules command: > sh -c "npm install && npm run dev" env_file: - ./dental-server/.env restart: unless-stopped dev-client: image: node:20 container_name: rx_dev_client network_mode: "host" working_dir: /app volumes: - ./dental-server/dental-client:/app - /app/node_modules command: > sh -c "npm install && npx vite --host 0.0.0.0 --port 5173" restart: unless-stopped