You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@ pip install sqlite_rx
29
29
30
30
## Server
31
31
32
+
Following are the options to start an `SQLiteServer`
33
+
34
+
### Python API
32
35
`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.
33
36
34
37
```python
@@ -58,6 +61,14 @@ if __name__ == '__main__':
58
61
main()
59
62
```
60
63
64
+
### CLI to start a server
65
+
66
+
Refer [CLI](#cli)
67
+
68
+
### Docker
69
+
70
+
Refer [Docker Examples](#docker-examples)
71
+
61
72
62
73
## Client
63
74
@@ -320,7 +331,9 @@ This link also explains how to setup CurveZMQ encryption and ZAP authentication
320
331
321
332
# Docker Examples
322
333
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
+
324
337
325
338
`sqlite-server` CLI is used in all the docker examples
326
339
@@ -337,6 +350,8 @@ services:
337
350
338
351
```
339
352
353
+
- Note that in the docker container the server listens on port `5000` so, doenable port forwarding on the host machine
354
+
340
355
## On Disk SQLite Database
341
356
342
357
docker volume is used to persist the database file on the host's file system
0 commit comments