|
|
@ -22,20 +22,7 @@ services: |
|
|
|
PROXY_AUTH_WHITELIST: "/api/*,/search/*" |
|
|
|
|
|
|
|
server: |
|
|
|
image: ghcr.io/immich-app/immich-server:v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228 |
|
|
|
command: [ "start.sh", "immich" ] |
|
|
|
volumes: |
|
|
|
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload |
|
|
|
environment: |
|
|
|
<<: *env |
|
|
|
depends_on: |
|
|
|
- redis |
|
|
|
- postgres |
|
|
|
restart: on-failure |
|
|
|
|
|
|
|
microservices: |
|
|
|
image: ghcr.io/immich-app/immich-server:v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228 |
|
|
|
command: [ "start.sh", "microservices" ] |
|
|
|
image: ghcr.io/immich-app/immich-server:v1.106.4@sha256:d39cb7ecbcc9924f2c51a3e0deb8a469075996c6ba9e1384eb2ddb550984848e |
|
|
|
volumes: |
|
|
|
- ${APP_DATA_DIR}/data/upload:/usr/src/app/upload |
|
|
|
environment: |
|
|
@ -46,7 +33,7 @@ services: |
|
|
|
restart: on-failure |
|
|
|
|
|
|
|
machine-learning: |
|
|
|
image: ghcr.io/immich-app/immich-machine-learning:v1.105.1@sha256:2e2736ba2f2270485c0b6fa33eee66ea0b2279b70b92ea838a015c4d5289c9f0 |
|
|
|
image: ghcr.io/immich-app/immich-machine-learning:v1.106.4@sha256:9db20e5c2033bef01fa2be50fa0a2c3d62e43f069aedde4d49a65e65a436d40b |
|
|
|
volumes: |
|
|
|
- ${APP_DATA_DIR}/data/model-cache:/cache |
|
|
|
environment: |
|
|
@ -63,11 +50,13 @@ services: |
|
|
|
postgres: |
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 |
|
|
|
user: "1000:1000" |
|
|
|
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: |
|
|
|
<<: *env |
|
|
|
POSTGRES_PASSWORD: *db_password |
|
|
|
POSTGRES_USER: *db_username |
|
|
|
POSTGRES_DB: *db_database_name |
|
|
|
POSTGRES_INITDB_ARGS: '--data-checksums' |
|
|
|
volumes: |
|
|
|
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data |
|
|
|
restart: on-failure |
|
|
|