version: '3.7'
services:
  vrsmart-api:
    image: vrsoftbr/vrsmartapi:1.0.3
    volumes:
      - '.:/home/node/app'
    environment:
      - POSTGRES_TYPE='postgres'
      - POSTGRES_HOST='192.168.1.127'
      - POSTGRES_USER='postgres'
      - POSTGRES_PASSWORD='postgres'
      - POSTGRES_DATABASE='vr'
      - POSTGRES_PORT='5432'
      - QUEUE_LOGIN='vr'
      - QUEUE_PASSWORD='vr!RbtMQ'
      - QUEUE_DOCKER='192.168.1.127'
      - QUEUE_PORT='5672'
    ports:
      - '3000:3000'
      - '3002:3002'
      - '7002:7002'
    networks:
      - vrsmart-net

networks:
  vrsmart-net:
    driver: bridge
