diff --git a/apps/immich/docker-compose.yml b/apps/immich/docker-compose.yml index 5fa9be9e..23199c36 100644 --- a/apps/immich/docker-compose.yml +++ b/apps/immich/docker-compose.yml @@ -2,16 +2,18 @@ version: "3.7" services: immich-server: + container_name: immich-server image: altran1502/immich-server:release entrypoint: ["/bin/sh", "./start-server.sh"] volumes: - ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload environment: - NODE_ENV=production - - DB_HOSTNAME=immich_db + - DB_HOSTNAME=immich-db - DB_USERNAME=tipi - DB_PASSWORD=${DB_PASSWORD} - - DB_NAME=immich + - ENABLE_MAPBOX=false + - DB_DATABASE_NAME=immich - REDIS_HOSTNAME=immich-redis - JWT_SECRET=${JWT_SECRET} depends_on: @@ -22,18 +24,20 @@ services: - tipi_main_network immich-microservices: + container_name: immich-microservices image: altran1502/immich-server:release entrypoint: ["/bin/sh", "./start-microservices.sh"] volumes: - ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload environment: - NODE_ENV=production - - DB_HOSTNAME=immich_db + - DB_HOSTNAME=immich-db - DB_USERNAME=tipi - DB_PASSWORD=${DB_PASSWORD} - - DB_NAME=immich + - DB_DATABASE_NAME=immich - REDIS_HOSTNAME=immich-redis - JWT_SECRET=${JWT_SECRET} + - ENABLE_MAPBOX=false depends_on: - immich-redis - immich-db @@ -42,16 +46,18 @@ services: - tipi_main_network immich-machine-learning: + container_name: immich-machine-learning image: altran1502/immich-machine-learning:release entrypoint: ["/bin/sh", "./entrypoint.sh"] volumes: - ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload environment: - NODE_ENV=production - - DB_HOSTNAME=immich_db + - DB_HOSTNAME=immich-db - DB_USERNAME=tipi - DB_PASSWORD=${DB_PASSWORD} - DB_NAME=immich + - DB_DATABASE_NAME=immich depends_on: - immich-db restart: unless-stopped @@ -59,6 +65,7 @@ services: - tipi_main_network immich-web: + container_name: immich-web image: altran1502/immich-web:release entrypoint: ["/bin/sh", "./entrypoint.sh"] restart: unless-stopped @@ -90,8 +97,9 @@ services: container_name: immich image: altran1502/immich-proxy:release ports: - - ${APP_PORT}:80 + - ${APP_PORT}:8080 depends_on: + - immich-web - immich-server restart: unless-stopped networks: @@ -102,6 +110,6 @@ services: traefik.http.routers.immich.entrypoints: websecure traefik.http.routers.immich.service: immich traefik.http.routers.immich.tls.certresolver: myresolver - traefik.http.services.immich.loadbalancer.server.port: 80 + traefik.http.services.immich.loadbalancer.server.port: 8080