version: '3.8'

services:
  bridge-reserve:
    build: .
    container_name: bridge-reserve-service
    restart: unless-stopped
    environment:
      - NODE_ENV=production
      - PORT=3002
      - ETHEREUM_RPC_URL=${ETHEREUM_MAINNET_RPC}
      - BRIDGE_SWAP_COORDINATOR=${BRIDGE_SWAP_COORDINATOR}
      - RESERVE_SYSTEM=${RESERVE_SYSTEM}
      - BRIDGE_RESERVE_COORDINATOR=${BRIDGE_RESERVE_COORDINATOR}
    ports:
      - "3002:3002"
    volumes:
      - ./logs:/app/logs
    networks:
      - bridge-network

networks:
  bridge-network:
    external: true

