mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
docs: Postgres standalone fix (#8427)
This commit is contained in:
parent
169d9d18b0
commit
fd83280b70
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Preparing a pre-existing Postgres server
|
||||
# Pre-existing Postgres
|
||||
|
||||
While not officially recommended, it is possible to run Immich using a pre-existing Postgres server. To use this setup, you should have a baseline level of familiarity with Postgres and the Linux command line. If you do not have these, we recommend using the default setup with a dedicated Postgres container.
|
||||
|
||||
|
@ -45,7 +45,7 @@ CREATE EXTENSION vectors;
|
|||
CREATE EXTENSION earthdistance CASCADE;
|
||||
ALTER DATABASE <immichdatabasename> SET search_path TO "$user", public, vectors;
|
||||
GRANT USAGE ON SCHEMA vectors TO <immichdbusername>;
|
||||
GRANT SELECT ON TABLE pg_vector_index_stat to <immichdbusername>;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA vectors GRANT SELECT ON TABLES TO <immichdbusername>;
|
||||
COMMIT;
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue