fix: update docker config
This commit is contained in:
parent
350417a441
commit
08511517ad
|
@ -2,16 +2,18 @@ version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
|
container_name: immich-server
|
||||||
image: altran1502/immich-server:release
|
image: altran1502/immich-server:release
|
||||||
entrypoint: ["/bin/sh", "./start-server.sh"]
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- DB_HOSTNAME=immich_db
|
- DB_HOSTNAME=immich-db
|
||||||
- DB_USERNAME=tipi
|
- DB_USERNAME=tipi
|
||||||
- DB_PASSWORD=${DB_PASSWORD}
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
- DB_NAME=immich
|
- ENABLE_MAPBOX=false
|
||||||
|
- DB_DATABASE_NAME=immich
|
||||||
- REDIS_HOSTNAME=immich-redis
|
- REDIS_HOSTNAME=immich-redis
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -22,18 +24,20 @@ services:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
|
container_name: immich-microservices
|
||||||
image: altran1502/immich-server:release
|
image: altran1502/immich-server:release
|
||||||
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- DB_HOSTNAME=immich_db
|
- DB_HOSTNAME=immich-db
|
||||||
- DB_USERNAME=tipi
|
- DB_USERNAME=tipi
|
||||||
- DB_PASSWORD=${DB_PASSWORD}
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
- DB_NAME=immich
|
- DB_DATABASE_NAME=immich
|
||||||
- REDIS_HOSTNAME=immich-redis
|
- REDIS_HOSTNAME=immich-redis
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
|
- ENABLE_MAPBOX=false
|
||||||
depends_on:
|
depends_on:
|
||||||
- immich-redis
|
- immich-redis
|
||||||
- immich-db
|
- immich-db
|
||||||
|
@ -42,16 +46,18 @@ services:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
|
container_name: immich-machine-learning
|
||||||
image: altran1502/immich-machine-learning:release
|
image: altran1502/immich-machine-learning:release
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- DB_HOSTNAME=immich_db
|
- DB_HOSTNAME=immich-db
|
||||||
- DB_USERNAME=tipi
|
- DB_USERNAME=tipi
|
||||||
- DB_PASSWORD=${DB_PASSWORD}
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
- DB_NAME=immich
|
- DB_NAME=immich
|
||||||
|
- DB_DATABASE_NAME=immich
|
||||||
depends_on:
|
depends_on:
|
||||||
- immich-db
|
- immich-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -59,6 +65,7 @@ services:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
||||||
immich-web:
|
immich-web:
|
||||||
|
container_name: immich-web
|
||||||
image: altran1502/immich-web:release
|
image: altran1502/immich-web:release
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -90,8 +97,9 @@ services:
|
||||||
container_name: immich
|
container_name: immich
|
||||||
image: altran1502/immich-proxy:release
|
image: altran1502/immich-proxy:release
|
||||||
ports:
|
ports:
|
||||||
- ${APP_PORT}:80
|
- ${APP_PORT}:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
|
- immich-web
|
||||||
- immich-server
|
- immich-server
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
@ -102,6 +110,6 @@ services:
|
||||||
traefik.http.routers.immich.entrypoints: websecure
|
traefik.http.routers.immich.entrypoints: websecure
|
||||||
traefik.http.routers.immich.service: immich
|
traefik.http.routers.immich.service: immich
|
||||||
traefik.http.routers.immich.tls.certresolver: myresolver
|
traefik.http.routers.immich.tls.certresolver: myresolver
|
||||||
traefik.http.services.immich.loadbalancer.server.port: 80
|
traefik.http.services.immich.loadbalancer.server.port: 8080
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user