version: '3.8' # Development Docker Compose for Synor Desktop Wallet # Note: This runs the Vite dev server for frontend development # The full Tauri app requires native compilation and can't run in Docker services: wallet-frontend: build: context: . dockerfile: Dockerfile.dev container_name: synor-wallet-frontend-dev ports: - "19420:19420" # Reserved port for wallet dev server volumes: - ./src:/app/src:delegated - ./public:/app/public:delegated - ./index.html:/app/index.html:ro - ./vite.config.ts:/app/vite.config.ts:ro - ./tailwind.config.js:/app/tailwind.config.js:ro - ./postcss.config.js:/app/postcss.config.js:ro - ./tsconfig.json:/app/tsconfig.json:ro # Exclude node_modules to use container's installed packages - /app/node_modules environment: - NODE_ENV=development - VITE_DEV_SERVER_PORT=19420 restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:19420"] interval: 30s timeout: 10s retries: 3 start_period: 40s