Modernize whole stack
This commit is contained in:
9
mongo-init.sh
Normal file
9
mongo-init.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
mongo <<EOF
|
||||
rs.initiate({
|
||||
_id: 'rs0',
|
||||
members: [
|
||||
{_id: 0, host: '127.0.0.1:27017'}
|
||||
]
|
||||
})
|
||||
EOF
|
Reference in New Issue
Block a user