doorboy-proxy/mongo-init.sh

10 lines
124 B
Bash
Raw Normal View History

2022-02-21 20:10:57 +00:00
#!/bin/bash
mongo <<EOF
rs.initiate({
_id: 'rs0',
members: [
{_id: 0, host: '127.0.0.1:27017'}
]
})
EOF