aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-09-11 20:23:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-09-11 20:23:24 +0300
commit23f9521d1abdeb599fbe81d0c196a9ee92f5fd8a (patch)
tree5ee5e59339bf2af98039ec4584f8a01410a95c11 /doc
parentlog: refactoring (diff)
downloadcimple-23f9521d1abdeb599fbe81d0c196a9ee92f5fd8a.tar.gz
cimple-23f9521d1abdeb599fbe81d0c196a9ee92f5fd8a.zip
create SQLite database on startup
Diffstat (limited to '')
-rw-r--r--docker-compose.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index d6d8460..43796e1 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,6 +13,8 @@ services:
<<: *common
ports:
- 5556
+ volumes:
+ - db:/var/lib/cimple
worker1:
<<: *common
command: ["cimple-worker"]
@@ -27,3 +29,6 @@ services:
depends_on: [server]
entrypoint: ["cimple-client"]
restart: 'no'
+
+volumes:
+ db: