run redis on chrysalis for now
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
e5fb68d533
commit
323f1bdf5d
|
@ -13,7 +13,7 @@ var (
|
||||||
network = flag.String("network", "tcp", "network protocol to bind the local HTTP server on")
|
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")
|
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")
|
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() {
|
func main() {
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
docker run \
|
|
||||||
--name waifud-redis \
|
|
||||||
-p 6379:6379 \
|
|
||||||
--restart always \
|
|
||||||
-d \
|
|
||||||
redis:6.3.2
|
|
16
shell.nix
16
shell.nix
|
@ -1,5 +1,19 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
pkgs.mkShell {
|
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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue