services: restoretest-komodo-mongorestore: image: mongo:7.0.32@sha256:32979a1189dfdc44da3f5ed40d910495f5ad8f6f7f77556646f890a30b2d3f56 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