services: backend: build: context: .. dockerfile: Dockerfile image: ${ROBOT_MARKET_IMAGE:-robot-market-backend:latest} environment: CONFIG_FILE: /etc/robot-market/config.yaml volumes: - ${CONFIG_FILE:-../configs/config.example.yaml}:/etc/robot-market/config.yaml:ro ports: - "${APP_PORT:-8080}:8080" extra_hosts: - "host.docker.internal:host-gateway" restart: unless-stopped