-
Notifications
You must be signed in to change notification settings - Fork 73
Docker
go to docker-compose
folder:
Build docker images:
docker-compose build
Then spin up a new container using docker-compose
docker-compose up
Note: add a -d
to run the container in background
server: localhost
UserName: sa
Password: RestAirline123
To connect to the SQL Server in the container, you can docker exec with sqlcmd.
The default password is RestAirline123
which defined in docker-compose.override.yml
docker exec -it restairline_mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P RestAirline123 -Q "select 1"
docker exec -it mongodb bash mongo show dbs use test db.people.save({ firstname: "Nic", lastname: "Raboy" }) db.people.save({ firstname: "Maria", lastname: "Raboy" }) db.people.find({ firstname: "Nic" })
We setup Elasticsearch & Kibana 6.1.4 by docker-compose because EventFlow used this version.
To test Elasticsearch works, go to http://localhost:5601
it should be open Kibana console, Click the Dev Tools
Item and try to get cluster info:
GET _cluster/health
-
Getting started
-
ASP.NET Core
-
Docker & Docker-compose
-
Hypermedia API
-
EntityFramework ReadModel
-
MongoDb ReadModel
-
Elasticseach ReadModel
-
DDD
-
Domain