run redis on chrysalis for now

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-05-30 11:13:41 -04:00
parent e5fb68d533
commit 323f1bdf5d
3 changed files with 16 additions and 10 deletions

View File

@ -13,7 +13,7 @@ var (
network = flag.String("network", "tcp", "network protocol to bind the local HTTP server on")
bind = flag.String("bind", "127.0.0.1:39294", "thing to bind the local HTTP server on")
zvolPrefix = flag.String("zvol-prefix", "rpool/waifud", "the prefix to use for zvol names")
redisURL = flag.String("redis-url", "redis://127.0.0.1", "the url to dial out to Redis")
redisURL = flag.String("redis-url", "redis://chrysalis", "the url to dial out to Redis")
)
func main() {

View File

@ -1,8 +0,0 @@
#!/bin/sh
docker run \
--name waifud-redis \
-p 6379:6379 \
--restart always \
-d \
redis:6.3.2

View File

@ -1,5 +1,19 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
buildInputs = with pkgs; [ dhall dhall-json go goimports gopls cdrkit jq ];
buildInputs = with pkgs; [
# dhall
dhall
dhall-json
# go
go
goimports
gopls
# other tools
cdrkit
jq
redis
];
}