fix juicefs db cmd

This commit is contained in:
death916 2025-09-11 05:31:57 -07:00
parent 613c2683cd
commit 77c5e44037

View file

@ -1,5 +1,5 @@
# Auto-generated using compose2nix v0.3.1.
{ pkgs, lib, postgresPassword, ... }:
{ pkgs, lib, ... }:
{
# Runtime
@ -21,8 +21,7 @@
"sh"
"-c"
''
. /run/secrets/juicefs.env && \
juicefs mount postgres://death916@postgres:5432/juicefs?sslmode=disable /mnt/jfs
. /run/secrets/juicefs.env && PGPASSWORD="$POSTGRES_PASSWORD" juicefs mount postgres://death916@postgres:5432/juicefs?sslmode=disable /mnt/jfs
''
];
dependsOn = [