mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-05-24 17:56:18 +00:00
chore: Update docker-compose.yml
This commit is contained in:
parent
933112fb8d
commit
ae9dcdd060
@ -55,7 +55,7 @@ services:
|
|||||||
- immich-internal
|
- immich-internal
|
||||||
|
|
||||||
immich-database:
|
immich-database:
|
||||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
|
||||||
container_name: immich-database
|
container_name: immich-database
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
@ -66,8 +66,6 @@ services:
|
|||||||
PG_DATA: /var/lib/postgresql/data
|
PG_DATA: /var/lib/postgresql/data
|
||||||
volumes:
|
volumes:
|
||||||
- ${DB_DATABASE_LOCATION}:/var/lib/postgresql/data
|
- ${DB_DATABASE_LOCATION}:/var/lib/postgresql/data
|
||||||
command: >-
|
|
||||||
postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- immich-internal
|
- immich-internal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user