Open rosscdh opened 4 years ago
This PR is quite old, but nowadays it is possible to initialize MongoDB docker like this:
...
mongodb:
image: mongo
volumes:
- mongo-data:/data/db
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
...
db.createUser(
{
user: process.env.MONGO_INITDB_ROOT_USERNAME,
pwd: process.env.MONGO_INITDB_ROOT_PASSWORD,
roles: [
{
role: "readWrite",
db: process.env.MONGO_INITDB_DATABASE
}
]
}
);
The comment in env.sample and instructions in README.md should also say mongosh instead of mongo.
OP is absent from GitHub. I recommend taking over the PR.
not absent just pre occupied.
feel free to take the pr over
On Tue, 9 Jan 2024 at 05:59, oSumAtrIX @.***> wrote:
OP is absent from GitHub. I recommend taking over the PR.
— Reply to this email directly, view it on GitHub https://github.com/mailvelope/keyserver/pull/106#issuecomment-1881655271, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADA6MSJCXYNIZY36HZXXWLYNQ6ZZAVCNFSM4SKBBCH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGE3DKNJSG4YQ . You are receiving this because you authored the thread.Message ID: @.***>
This would be awesome (still!)
make this great app runnable by docker