Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 524 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 524 Bytes

battleship-server

Battleship server written by Golang.

This project provide APIs for battleship-client project. It needs Mongodb to store data.

To build Docker image run: docker build -t battleship-server .

To run Docker image run:

docker run --name battleship-server -e BATTLESHIP_MONGODB_URL=mongodb://mongo:27017 -e BATTLESHIP_MONGODB_USERNAME=mongo -e BATTLESHIP_MONGODB_PASSWORD=123456 --network network-name --restart always -d battleship-server