Dotnet Core Todo App Web Api With Couchbase
309
You should create couchbase container named couchbasedb
docker run -d -p 8091:8091 --name couchbasedb couchbase
After database creation, you should set configs following
Next step, you need to create an index for complete couchbase configuration
Go to Query Editor clicking by Query tab and type query following:
CREATE INDEX ix_type ON TodoApp(type)
Click the Execute button for run query
if you have a result after execution following, its sounds like configurations completed successfully
{
"results": []
}
Lastly you should create api container link with couchbasedb container
docker run -d -p 5001:80 --link couchbasedb burakhayirli/dotnetcore-couchbase-todoapp-webapi
Now, you can run your application
Content type
Image
Digest
Size
88.1 MB
Last updated
almost 5 years ago
docker pull burakhayirli/dotnetcore-couchbase-todoapp-webapi