Skip to content
Snippets Groups Projects
launch_mongodb_server 523 B
Newer Older
  • Learn to ignore specific revisions
  • Whitney Armstrong's avatar
    Whitney Armstrong committed
    #!/bin/bash
    
    
    if [ ! -f "mongodb.sif" ] ; then
      echo "Downloading mongodb singularity image..."
      wget https://eicweb.phy.anl.gov/containers/image_recipes/-/jobs/artifacts/master/raw/build/Singularity.mongo.simg?job=mongo_singular -O mongodb.sif
    fi
    #wget https://eicweb.phy.anl.gov/containers/image_recipes/-/jobs/artifacts/master/raw/build/Singularity.mongo.simg?job=mongo_singular -O mongodb.sif
    
    Whitney Armstrong's avatar
    Whitney Armstrong committed
    mkdir -p data
    
    #singularity exec mongodb.sif mongod --dbpath data --repair
    
    Whitney Armstrong's avatar
    Whitney Armstrong committed
    singularity exec mongodb.sif mongod --dbpath data