version: '3.9' # tiup playground v6.1.0 -T oss --without-monitor --db.host 0.0.0.0 --tiflash 1 services: etl: build: context: ./etl dockerfile: ./Dockerfile args: BUNDLE_WITHOUT: '' EXECJS_RUNTIME: 'Node' RAILS_ENV: 'development' RAILS_SERVE_STATIC_FILES: 'false' tty: true stdin_open: true image: hooopo/ossinsight-etl:latest restart: always command: ["./start.sh"] environment: - NODE_ENV=development - RAILS_ENV=development - DATABASE_URL=${ETL_DATABASE_URL:?err} - GITHUB_TOKEN=${GITHUB_TOKEN:?err} - SKIP_REPLICA=1 api: build: context: ./packages/api-server dockerfile: ./Dockerfile args: NODE_ENV: 'development' image: hooopo/ossinsight-api:latest restart: always ports: - "3450:3450" depends_on: etl: condition: service_started environment: - DATABASE_URL=${API_DATABASE_URL:?err} - CONFIGS_PATH=${CONFIGS_PATH:-./configs} - SERVER_PORT=3450 - GITHUB_ACCESS_TOKENS=${GITHUB_TOKEN:?err} - ENABLE_CACHE=${ENABLE_CACHE:-false} web: image: hooopo/ossinsight-web:latest restart: always build: context: ./web dockerfile: ./Dockerfile args: NODE_ENV: 'development' ports: - "30000:30000" environment: - NODE_ENV=development - APP_HOST=http://localhost:30000 - APP_API_BASE=http://localhost:3450 volumes: - ./:/app:delegated - node_modules:/app/node_modules - prefetch:/app/.prefetch - docusaurus:/app/.docusaurus networks: default: volumes: packs: node_modules: cache: bundle: prefetch: docusaurus: