You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
443 B
Org Mode
21 lines
443 B
Org Mode
#+TITLE: Persistent KV Store
|
|
|
|
There's really nothing to build right now.
|
|
|
|
#+BEGIN_SRC sh :tangle run.sh :tangle-mode (identity #o755)
|
|
#!/usr/bin/env sh
|
|
set -euo pipefail
|
|
|
|
KVDATA=${KVDATA:-"$(pwd)/data/dev"}
|
|
|
|
docker run \
|
|
-p 127.0.0.1:6379:6379 \
|
|
-v $KVDATA:/data \
|
|
--name darklimericks-kv \
|
|
redis --appendonly yes
|
|
#+END_SRC
|
|
|
|
#+BEGIN_SRC sh :tangle start.sh :tangle-mode (identity #o755)
|
|
docker start darklimericks-kv
|
|
#+END_SRC
|