This is the repository of fikriprayoga1/go-mongo in docker hub. Function of this repository is guide to create image of fikriprayoga1/go-mongo in docker hub, so you can learn how to create image and run the docker system image easily. This repository is part of https://hub.docker.com/repository/docker/fikriprayoga1/go-mongo project
Use this command in your CMD(Windows) or Terminal(Mac or Linux). Before start the command, you must be in the directory of the folder you pulled.
docker build -t fikriprayoga1/go-mongo:1.0 .
docker pull mongo
docker-compose up
You can use Postman app to test server with this configuration. Please import postman collection file in this folder to your postman app collection, and then try the API
Ensure the system running before you try API. You can run 'docker logs go-mongo' command to see the log, if you have seen 'Server listener started.' log, you can try the API
This part is command line to help you something
docker container ls
docker images
docker container ls -a
docker logs go-mongo
docker network ls