services: restoretest-komodo-mongorestore: image: mongo:8.0.23@sha256:44aa79ae28ff80b56fe58681b66cda9336706df408a5175a6c04988aa54610d3 container_name: restoretest-komodo-mongorestore restart: "no" command: --quiet environment: MONGO_INITDB_ROOT_USERNAME: komodo MONGO_INITDB_ROOT_PASSWORD: restoretest-komodo-mongo-pwd volumes: - /mnt/user/backups/restore-lab/komodo-mongo-restore/mongo:/data/db healthcheck: test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping').ok"] interval: 10s timeout: 5s retries: 10 start_period: 30s security_opt: - no-new-privileges:true