mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
change juicefs docker port mapping
This commit is contained in:
parent
cdc3dc0a71
commit
593434481b
1 changed files with 6 additions and 2 deletions
|
|
@ -17,7 +17,11 @@
|
|||
"juice_juicefs_cache:/var/jfsCache:rw"
|
||||
];
|
||||
env_file = "/etc/nixos/secrets/juicefs.env";
|
||||
cmd = [ "sh" "-c" "juicefs mount postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/juicefs?sslmode=disable /mnt/jfs" ];
|
||||
cmd = [
|
||||
"sh"
|
||||
"-c"
|
||||
"juicefs mount postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/juicefs?sslmode=disable /mnt/jfs"
|
||||
];
|
||||
dependsOn = [
|
||||
"postgres-for-juicefs"
|
||||
];
|
||||
|
|
@ -59,7 +63,7 @@
|
|||
"/home/death916/docker/volumes/postgres:/var/lib/postgresql/data:rw"
|
||||
];
|
||||
ports = [
|
||||
"5432:5432/tcp"
|
||||
"5430:5432/tcp"
|
||||
];
|
||||
log-driver = "journald";
|
||||
extraOptions = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue