immich fix
This commit is contained in:
@@ -64,6 +64,8 @@ in {
|
|||||||
PSQL="${pkgs.postgresql}/bin/psql -U postgres"
|
PSQL="${pkgs.postgresql}/bin/psql -U postgres"
|
||||||
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS vchord CASCADE;"
|
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS vchord CASCADE;"
|
||||||
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;"
|
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;"
|
||||||
|
$PSQL -d "immich_db" -tAc "ALTER EXTENSION vchord UPDATE;"
|
||||||
|
$PSQL -d "immich_db" -tAc "ALTER EXTENSION earthdistance UPDATE;"
|
||||||
|
|
||||||
IMMICH_URL="https://${containerCfg.subdomain}.${serverCfg.domain}"
|
IMMICH_URL="https://${containerCfg.subdomain}.${serverCfg.domain}"
|
||||||
until [[ "$(${pkgs.curl}/bin/curl -s -o /dev/null -w "%{http_code}" "$IMMICH_URL")" =~ (200|301|302) ]]; do
|
until [[ "$(${pkgs.curl}/bin/curl -s -o /dev/null -w "%{http_code}" "$IMMICH_URL")" =~ (200|301|302) ]]; do
|
||||||
|
|||||||
Reference in New Issue
Block a user