Skip to content

Commit 0b6d55c

Browse files
author
Abhishek Singh
committed
Documentation
1 parent 930cdc5 commit 0b6d55c

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ pip install sqlite_rx
2929

3030
## Server
3131

32+
Following are the options to start an `SQLiteServer`
33+
34+
### Python API
3235
`SQLiteServer` runs in a single thread and follows an event-driven concurrency model (using `tornado's` event loop) which minimizes the cost of concurrent client connections.
3336

3437
```python
@@ -58,6 +61,14 @@ if __name__ == '__main__':
5861
main()
5962
```
6063

64+
### CLI to start a server
65+
66+
Refer [CLI](#cli)
67+
68+
### Docker
69+
70+
Refer [Docker Examples](#docker-examples)
71+
6172

6273
## Client
6374

@@ -320,7 +331,9 @@ This link also explains how to setup CurveZMQ encryption and ZAP authentication
320331
321332
# Docker Examples
322333
323-
The following `docker-compose` examples using the docker image `aosing/sqlite_rx`
334+
The following `docker-compose` examples using the docker image [`aosingh/sqlite_rx`](https://hub.docker.com/r/aosingh/sqlite_rx)
335+
336+
324337
325338
`sqlite-server` CLI is used in all the docker examples
326339
@@ -337,6 +350,8 @@ services:
337350

338351
```
339352
353+
- Note that in the docker container the server listens on port `5000` so, do enable port forwarding on the host machine
354+
340355
## On Disk SQLite Database
341356
342357
docker volume is used to persist the database file on the host's file system

0 commit comments

Comments
 (0)