diff options
author | Akshay <[email protected]> | 2024-12-05 20:26:14 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-12-05 20:26:14 +0000 |
commit | d214040c0b4a7dcd7dd386e0169b77a1c74de489 (patch) | |
tree | 9994a08edd4810b1e9984ded7139e043d233d99c | |
parent | f1029d2ebdfb2dd8736f8c094fb214c2cdb68d2d (diff) |
add docker volume instructions
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | readme.md | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -41,7 +41,7 @@ | |||
41 | cp -R ./node_modules/* $out/node_modules | 41 | cp -R ./node_modules/* $out/node_modules |
42 | ls -la $out/node_modules | 42 | ls -la $out/node_modules |
43 | ''; | 43 | ''; |
44 | outputHash = "sha256-2qqPTYzbW/MuBfwYDAPZs0fiElTut3tKqCeMW6YIYTg="; | 44 | outputHash = "sha256-XX8RozzH76qzBAIyWYwPynaxGIaHNojNw5s6aCqaSio="; |
45 | outputHashAlgo = "sha256"; | 45 | outputHashAlgo = "sha256"; |
46 | outputHashMode = "recursive"; | 46 | outputHashMode = "recursive"; |
47 | }; | 47 | }; |
@@ -67,7 +67,10 @@ REPOSITORY TAG IMAGE ID CREATED SIZE | |||
67 | ghcr.io/oppiliappan/lurker latest ba3733164889 54 years ago 186MB | 67 | ghcr.io/oppiliappan/lurker latest ba3733164889 54 years ago 186MB |
68 | 68 | ||
69 | # start lurker in a container | 69 | # start lurker in a container |
70 | $ docker run ghcr.io/oppiliappan/lurker:latest | 70 | # |
71 | # lurker stores data in /data, | ||
72 | # so create a volume on the host accordingly: | ||
73 | $ docker run -v /your/host/lurker-data:/data ghcr.io/oppiliappan/lurker:latest | ||
71 | ``` | 74 | ``` |
72 | 75 | ||
73 | or with just [bun](https://bun.sh/): | 76 | or with just [bun](https://bun.sh/): |