services: wbb: build: . restart: always environment: - PYTHONUNBUFFERED=1 - MONGO_URL=mongodb://mongo:27017/wbb - ADMIN_WEB_HOST=0.0.0.0 - BOT_PROFILES_PATH=/wbb/runtime/bot_profiles.json depends_on: mongo: condition: service_healthy ports: - "127.0.0.1:8088:8088" volumes: - ./sessions:/wbb/sessions - ./runtime:/wbb/runtime mongo: image: mongo:7 restart: always volumes: - mongo-data:/data/db healthcheck: test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping').ok"] interval: 5s timeout: 3s retries: 20 volumes: mongo-data: