mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
fix juicefs db cmd
This commit is contained in:
parent
613c2683cd
commit
77c5e44037
1 changed files with 2 additions and 3 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue