services:
  market-api:
    build:
      context: .
      dockerfile: Dockerfile
    image: market-api:latest
    ports:
      - "${APP_PORT:-6100}:8000"
    environment:
      DB_HOST: ${DB_HOST:-192.168.0.112}
      DB_PORT: ${DB_PORT:-4200}
      DB_NAME: ${DB_NAME:-postgres}
      DB_SCHEMA: ${DB_SCHEMA:-bid}
      DB_USER: ${DB_USER:-user}
      DB_PASSWORD: ${DB_PASSWORD:-}
      DB_SSLMODE: ${DB_SSLMODE:-}
    restart: unless-stopped
