feat(infra): move service to chronos

This commit is contained in:
Radu C. Martin 2024-02-16 10:18:01 +01:00
parent 0ee11a8e64
commit e0a67bbd77

View file

@ -3,10 +3,12 @@ version: "3.8"
services: services:
immich-server: immich-server:
container_name: immich_server container_name: immich_server
image: ghcr.io/immich-app/immich-server:v1.89.0@sha256:b5aa4023c63b904136e859b4c3f4c1d34272b7c5f7ee65f50f12378d6039e9e7 image: ghcr.io/immich-app/immich-server:v1.91.0@sha256:293673607cdc62be83d4982db491544959070982bdd7bab3181f8bbed485e619
command: ["start.sh", "immich"] command: ["start.sh", "immich"]
ports:
- 3001:3001
volumes: volumes:
- library:/usr/src/app/upload - /mnt/truenas-services/immich:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- stack.env - stack.env
@ -17,32 +19,29 @@ services:
depends_on: depends_on:
- redis - redis
- database - database
- typesense
restart: always restart: always
networks: networks:
- immich - immich
- net
immich-microservices: immich-microservices:
container_name: immich_microservices container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:v1.89.0@sha256:b5aa4023c63b904136e859b4c3f4c1d34272b7c5f7ee65f50f12378d6039e9e7 image: ghcr.io/immich-app/immich-server:v1.91.0@sha256:293673607cdc62be83d4982db491544959070982bdd7bab3181f8bbed485e619
command: ["start.sh", "microservices"] command: ["start.sh", "microservices"]
volumes: volumes:
- library:/usr/src/app/upload - /mnt/truenas-services/immich:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- stack.env - stack.env
depends_on: depends_on:
- redis - redis
- database - database
- typesense
restart: always restart: always
networks: networks:
- immich - immich
immich-machine-learning: immich-machine-learning:
container_name: immich_machine_learning container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:v1.89.0@sha256:e76febac59b0377cb08dbbd683bf147f9720bbf6f7da86f22b7cfbec91237a72 image: ghcr.io/immich-app/immich-machine-learning:v1.91.0@sha256:4d5614c2f372acdc779a398f9c27e10ae35f3777fd34dd3f63cf88012644438f
volumes: volumes:
- model-cache:/cache - model-cache:/cache
env_file: env_file:
@ -51,20 +50,6 @@ services:
networks: networks:
- immich - immich
typesense:
container_name: immich_typesense
image: typesense/typesense:0.25.2@sha256:1ddbb28a52b0b8be31237ec718df1c9bc895c5626b26c10fa3f340f684e81488
environment:
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data
# remove this to get debug messages
- GLOG_minloglevel=1
volumes:
- tsdata:/data
restart: always
networks:
- immich
redis: redis:
container_name: immich_redis container_name: immich_redis
image: redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5 image: redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
@ -74,7 +59,8 @@ services:
database: database:
container_name: immich_postgres container_name: immich_postgres
image: postgres:14-alpine@sha256:4d3d45051b91b6573a0d8fdcfb19702aa83a607a47526c62cf2e29ec92bc0218 # image: postgres:14-alpine@sha256:a52bf84b9edf9229492eaa340848a508b7c67af0fc5b5636d992164dce729174
image: tensorchord/pgvecto-rs:pg14-v0.1.11
env_file: env_file:
- stack.env - stack.env
environment: environment:
@ -90,10 +76,6 @@ services:
volumes: volumes:
pgdata: pgdata:
model-cache: model-cache:
tsdata:
library:
networks: networks:
net:
external: true
immich: immich: