# Soleprint Services - Docker Compose # # Runs soleprint hub as a single service # Artery, atlas, station are accessed via path-based routing # # Usage: # cd gen//soleprint && docker compose up -d name: ${DEPLOYMENT_NAME} services: soleprint: build: context: . dockerfile: Dockerfile container_name: ${DEPLOYMENT_NAME} user: "${UID:-1000}:${GID:-1000}" volumes: - .:/app ports: - "${SOLEPRINT_PORT}:8000" env_file: - .env environment: # For single-port mode, all subsystems are internal routes - ARTERY_EXTERNAL_URL=/artery - ATLAS_EXTERNAL_URL=/atlas - STATION_EXTERNAL_URL=/station networks: - default # Use run.py for single-port bare-metal mode command: uvicorn run:app --host 0.0.0.0 --port 8000 --reload networks: default: external: true name: ${NETWORK_NAME}