I hereby claim:
- I am coolteddy on github.
- I am thetnaing (https://keybase.io/thetnaing) on keybase.
- I have a public key whose fingerprint is 4FC4 4942 D427 08BB 4E4D D6D2 E575 3886 08D4 A168
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
### Keybase proof | |
I hereby claim: | |
* I am coolteddy on github. | |
* I am thetnaing (https://keybase.io/thetnaing) on keybase. | |
* I have a public key whose fingerprint is 7735 A830 F206 ECDC 9196 0D8C 81E7 764A 85D1 32C1 | |
To claim this, I am signing this object: |
Sat Apr 13 22:45:22 UTC 2019 |
#!/bin/bash | |
QUERY=query.json | |
time curl -i -XPOST \ | |
-o output.log \ | |
--data "@$QUERY" \ | |
-H "Accept: application/json" \ | |
-H "Content-Type: application/json" \ | |
http://127.0.0.1:7474/db/data/transaction/commit |
Package: * | |
Pin: release n=bullseye-backports | |
Pin-Priority: 900 | |
1. Connect to mongodb instance. | |
~~~ | |
mongod --port 27017 --dbpath /data/db | |
~~~ | |
2. Create user: | |
~~~ | |
use admin | |
db.createUser( | |
{ |
This gist contains files and instructions to setup MongoDB on a simple docker host.
Connections to Mongo are secured using TLS, and the certificate is signed using Let's Encrypt.
MongoExpress is included as well, but should only be used over an SSH tunnel.
Update .env
Make sure docker-compose is available