mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-07 17:11:02 +00:00
Update docker-compose.yml
enable machine-learning as default and add optional network definitions
This commit is contained in:
parent
ff160cb510
commit
9971cbf44f
|
@ -18,6 +18,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
container_name: immich-microservices
|
container_name: immich-microservices
|
||||||
|
@ -36,6 +38,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
immich-typesense:
|
immich-typesense:
|
||||||
container_name: immich-typesense
|
container_name: immich-typesense
|
||||||
|
@ -48,20 +52,24 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
#immich-machine-learning:
|
immich-machine-learning:
|
||||||
# image: altran1502/immich-machine-learning:release
|
image: altran1502/immich-machine-learning:release
|
||||||
# container_name: immich-ml
|
container_name: immich-ml
|
||||||
# volumes:
|
volumes:
|
||||||
# - ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
# - model-cache:/cache
|
- model-cache:/cache
|
||||||
# env_file:
|
env_file:
|
||||||
# - .env
|
- .env
|
||||||
# environment:
|
environment:
|
||||||
# - NODE_ENV=production
|
- NODE_ENV=production
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
# labels:
|
# labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
# networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
immich-web:
|
immich-web:
|
||||||
image: altran1502/immich-web:release
|
image: altran1502/immich-web:release
|
||||||
|
@ -72,6 +80,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
immich-redis:
|
immich-redis:
|
||||||
container_name: immich-redis
|
container_name: immich-redis
|
||||||
|
@ -79,6 +89,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
immich-database:
|
immich-database:
|
||||||
container_name: immich-database
|
container_name: immich-database
|
||||||
|
@ -95,6 +107,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
immich-proxy:
|
immich-proxy:
|
||||||
container_name: immich-proxy
|
container_name: immich-proxy
|
||||||
|
@ -104,6 +118,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- immich-server
|
- immich-server
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
#labels:
|
#labels:
|
||||||
# - traefik.enable=false
|
# - traefik.enable=false
|
||||||
# - traefik.http.routers.immich.rule=Host(`immich.example.com`)
|
# - traefik.http.routers.immich.rule=Host(`immich.example.com`)
|
||||||
|
@ -113,5 +129,9 @@ services:
|
||||||
# - traefik.http.routers.immich.middlewares=local-ipwhitelist@file
|
# - traefik.http.routers.immich.middlewares=local-ipwhitelist@file
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
|
||||||
#volumes:
|
volumes:
|
||||||
# model-cache:
|
model-cache:
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user