GDAOSU/3dgs_measurement_tool
0
1version: '3.8'2 3services:4 # The private backend server is no longer run locally in this configuration.5 # The local broker will point directly to the deployed Hugging Face private space.6 # backend:7 # build:8 # context: ../3dgs_lod_tiler # Path to your private server code9 # dockerfile: Dockerfile10 # ports:11 # - "8001:8001" # Expose for direct access if needed12 # environment:13 # # The token the backend will use to validate requests from the broker14 # - HF_TOKEN=${HF_TOKEN}15 # # The path to the binary inside the container16 # - SPLAT_TILER_PATH=/usr/local/bin/SplatTiler17 # volumes:18 # # Persist uploaded/converted data between runs19 # - ../3dgs_lod_tiler/data:/app/data20 21 # The public-facing broker server22 broker:23 build:24 context: ./server25 dockerfile: Dockerfile26 ports:27 - "8000:8000"28 environment:29 # The broker now connects to the deployed private server on Hugging Face.30 - PRIVATE_SERVER_URL=${PRIVATE_SERVER_URL}31 - HF_TOKEN=${HF_TOKEN}32 33 # The React client development server34 client:35 build:36 context: ./client37 dockerfile: Dockerfile.dev38 ports:39 - "5173:5173"40 environment:41 # For the browser: use relative paths to hit the Vite proxy42 - VITE_API_SERVER_URL=43 # For the Vite proxy: target the broker using its service name44 - VITE_PROXY_TARGET=http://broker:800045 - VITE_GOOGLE_MAPS_API_KEY=${VITE_GOOGLE_MAPS_API_KEY}46 volumes:47 # Mount source code for hot-reloading48 - ./client/src:/app/src49 depends_on:50 - broker