https://github.com/rexlow/go-mongo-debug
https://github.com/rexlow/go-mongo-debug
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rexlow/go-mongo-debug
- Owner: rexlow
- Created: 2022-09-06T12:28:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-06T13:26:04.000Z (almost 4 years ago)
- Last Synced: 2025-08-16T18:35:27.137Z (10 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Readme
Ignore this repo please, created to debug some networking issues I have at work :)
## Run
```
MONGO_USER=MONGO_USER \
MONGO_PASS=MONGO_PASS \
MONGO_HOST=MONGO_HOST \
MONGO_AUTH=MONGO_AUTH \
MONGO_REPLICA=MONGO_REPLICA go run *.go
```
## Docker
```
docker build -t rexlow/go-mongo-debug -f Dockerfile --platform linux/amd64 .
docker push rexlow/go-mongo-debug:latest
docker run \
-e MONGO_USER=${MONGO_USER} \
-e MONGO_USER=${MONGO_PASS} \
-e MONGO_USER=${MONGO_HOST} \
-e MONGO_USER=${MONGO_AUTH} \
-e MONGO_USER=${MONGO_REPLICA} \
--name go-mongo-debug go-mongo-debug:latest
```