kopia lustrzana https://github.com/Haxxnet/Compose-Examples
Porównaj commity
7 Commity
c7dea146bb
...
c1cfca6aee
Autor | SHA1 | Data |
---|---|---|
LRVT | c1cfca6aee | |
LRVT | 46bc8100b5 | |
LRVT | 868318a7c7 | |
LRVT | 9e356ef032 | |
LRVT | df36014046 | |
LRVT | 5662148709 | |
LRVT | 0dcde2cdd3 |
|
@ -0,0 +1,3 @@
|
|||
# These are supported funding model platforms
|
||||
|
||||
github: [l4rm4nd]
|
|
@ -5,8 +5,8 @@ DB_PASSWORD=MySecureDatabasePassword # change this
|
|||
DB_DATABASE_NAME=immich-psgdb
|
||||
DB_DATABASE_LOCATION=/mnt/docker-volumes/immich/database # change this
|
||||
|
||||
# Typesense
|
||||
# TYPESENSE
|
||||
# only relevant for immich < 1.91.0
|
||||
TYPESENSE_API_KEY=E5B56F137D21231231 # change this to a secure random secret
|
||||
TYPESENSE_LOCATION=/mnt/docker-volumes/immich/typesense # change this
|
||||
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
# stack for immich >= v1.88.0 <= 1.91.0
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
immich-server:
|
||||
container_name: immich-server
|
||||
image: altran1502/immich-server:release
|
||||
command: [ "start.sh", "immich" ]
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
ports:
|
||||
- 2283:3001
|
||||
expose:
|
||||
- 3001
|
||||
depends_on:
|
||||
- immich-redis
|
||||
- immich-database
|
||||
- immich-typesense
|
||||
restart: unless-stopped
|
||||
#networks:
|
||||
# - proxy
|
||||
#labels:
|
||||
# - traefik.enable=false
|
||||
# - traefik.http.routers.immich.rule=Host(`immich.example.com`)
|
||||
# - traefik.http.services.immich.loadbalancer.server.port=3001
|
||||
# - traefik.docker.network=proxy
|
||||
# # Part for local lan services only
|
||||
# - traefik.http.routers.immich.middlewares=local-ipwhitelist@file
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
|
||||
immich-microservices:
|
||||
container_name: immich-microservices
|
||||
image: altran1502/immich-server:release
|
||||
command: [ "start.sh", "microservices" ]
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
depends_on:
|
||||
- immich-redis
|
||||
- immich-database
|
||||
- immich-typesense
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
immich-typesense:
|
||||
container_name: immich-typesense
|
||||
hostname: typesense
|
||||
image: typesense/typesense:0.24.1
|
||||
environment:
|
||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
|
||||
- TYPESENSE_DATA_DIR=/data
|
||||
# remove this to get debug messages
|
||||
- GLOG_minloglevel=1
|
||||
volumes:
|
||||
- ${TYPESENSE_LOCATION}:/data
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
immich-machine-learning:
|
||||
image: altran1502/immich-machine-learning:release
|
||||
container_name: immich-ml
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- model-cache:/cache
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
immich-redis:
|
||||
container_name: immich-redis
|
||||
image: redis:6.2-alpine
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
immich-database:
|
||||
container_name: immich-database
|
||||
image: postgres:14-alpine
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME}
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME}
|
||||
PG_DATA: /var/lib/postgresql/data
|
||||
volumes:
|
||||
- ${DB_DATABASE_LOCATION}:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
|
@ -1,4 +1,4 @@
|
|||
# stack for immich >= v1.88.0
|
||||
# stack for immich >= 1.91.0
|
||||
|
||||
version: "3.8"
|
||||
|
||||
|
@ -21,10 +21,9 @@ services:
|
|||
depends_on:
|
||||
- immich-redis
|
||||
- immich-database
|
||||
- immich-typesense
|
||||
restart: unless-stopped
|
||||
#networks:
|
||||
# - proxy
|
||||
# - proxy
|
||||
#labels:
|
||||
# - traefik.enable=false
|
||||
# - traefik.http.routers.immich.rule=Host(`immich.example.com`)
|
||||
|
@ -48,29 +47,11 @@ services:
|
|||
depends_on:
|
||||
- immich-redis
|
||||
- immich-database
|
||||
- immich-typesense
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
immich-typesense:
|
||||
container_name: immich-typesense
|
||||
hostname: typesense
|
||||
image: typesense/typesense:0.24.1
|
||||
environment:
|
||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
|
||||
- TYPESENSE_DATA_DIR=/data
|
||||
# remove this to get debug messages
|
||||
- GLOG_minloglevel=1
|
||||
volumes:
|
||||
- ${TYPESENSE_LOCATION}:/data
|
||||
restart: unless-stopped
|
||||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
# - proxy
|
||||
|
||||
immich-machine-learning:
|
||||
image: altran1502/immich-machine-learning:release
|
||||
|
@ -86,7 +67,7 @@ services:
|
|||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
# - proxy
|
||||
|
||||
immich-redis:
|
||||
container_name: immich-redis
|
||||
|
@ -95,11 +76,11 @@ services:
|
|||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
# - proxy
|
||||
|
||||
immich-database:
|
||||
container_name: immich-database
|
||||
image: postgres:14-alpine
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.1.11
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
|
@ -113,7 +94,7 @@ services:
|
|||
#labels:
|
||||
# - "com.centurylinklabs.watchtower.enable=true"
|
||||
#networks:
|
||||
# - proxy
|
||||
# - proxy
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
|
|
Ładowanie…
Reference in New Issue