services: app: build: context: . dockerfile: Dockerfile ports: - "8080:8080" volumes: # Mount source files for development (no rebuild needed) - ./src:/app/src - ./public:/app/public - ./data:/app/data # Don't mount node_modules - use container's environment: - NODE_ENV=development - PORT=8080 - GITEA_API_URL=https://git.softuniq.eu/api/v1 restart: unless-stopped healthcheck: test: ["CMD", "bun", "-e", "fetch('http://localhost:8080/api/settings').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"] interval: 30s timeout: 3s retries: 3 start_period: 5s