[Komodo] admin: Write Stack File: update compose.yaml
This commit is contained in:
parent
ab2e899e54
commit
9578ab9d97
1 changed files with 1 additions and 13 deletions
14
compose.yaml
14
compose.yaml
|
|
@ -17,25 +17,13 @@ services:
|
||||||
|
|
||||||
database:
|
database:
|
||||||
container_name: immich_postgres
|
container_name: immich_postgres
|
||||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
|
||||||
restart: always
|
restart: always
|
||||||
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
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: immich
|
POSTGRES_DB: immich
|
||||||
POSTGRES_INITDB_ARGS: --data-checksums
|
POSTGRES_INITDB_ARGS: --data-checksums
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready --dbname=immich --username=postgres || exit 1"]
|
|
||||||
interval: 5m
|
|
||||||
start_interval: 30s
|
|
||||||
start_period: 5m
|
|
||||||
volumes:
|
volumes:
|
||||||
- /app-config/database:/var/lib/postgresql/data
|
- /app-config/database:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue