Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romankurnovskii/comm
https://github.com/romankurnovskii/comm
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/romankurnovskii/comm
- Owner: romankurnovskii
- Created: 2022-06-11T13:38:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-21T06:19:57.000Z (about 2 years ago)
- Last Synced: 2023-03-04T01:35:07.874Z (over 1 year ago)
- Language: Python
- Size: 9.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
python -m venv env
. env/bin/activateset env:
MONGO_CONNECTION_STRING
MONGO_DB_COLLECTIONpip install -r requirements.txt
pip freeze > requirements.txtexport FLASK_APP=server
export FLASK_ENV=development
flask rundocker pull mongo:5.0.9
docker run -d --rm --name test-mongo mongo:5.0.9 --port 8000
docker exec -it bash
docker logs test-mongo --followdocker run -d \
-p 27017:27017 \
--name test-mongo \
-v data-vol:/data/db \
mongodocker run -d --network my-network --name mylocalmongo \
-e MONGO_INITDB_ROOT_USERNAME=mongoadmin \
-e MONGO_INITDB_ROOT_PASSWORD=secret \
mongo:5.0.9docker run -it --rm --network mynetwork mongo \
mongo --host some-mongo \
-u mongoadmin \
-p secret \
--authenticationDatabase admin \
some-dbdocker exec -it some-mongo bash
docker logs some-mongo