removed old dockerfiles
This commit is contained in:
parent
5edda1c8ee
commit
9985bc4628
@ -1,4 +0,0 @@
|
|||||||
Make sure that you have a folder ready for the bitwarden information.
|
|
||||||
|
|
||||||
docker pull vaultwarden/server:latest
|
|
||||||
docker run -d --name vaultwarden -v /vaultwarden:/data/ -p XXXX:80 --restart unless-stopped vaultwarden/server:latest
|
|
@ -1,4 +0,0 @@
|
|||||||
FROM mongo:latest
|
|
||||||
|
|
||||||
EXPOSE 27017
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
Launch plain dockerfile
|
|
||||||
|
|
||||||
docker run -d -p 27017:27017 -v ~/dataMongo:/data/db mongo
|
|
||||||
|
|
||||||
Create a user (root) and any other databases (with users)
|
|
||||||
|
|
||||||
Close and re-run docker file with auth enabled (DBs Should persist)
|
|
||||||
|
|
||||||
docker run -d -p 27017:27017 -v ~/dataMongo:/data/db mongo --auth
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
https://stackoverflow.com/questions/42201233/mongodb-with-docker-authentication
|
|
Loading…
Reference in New Issue
Block a user