From 895129c99733a40606d508208b1e3074b2aafe30 Mon Sep 17 00:00:00 2001 From: Mansour Date: Fri, 10 Nov 2023 15:43:21 +1300 Subject: [PATCH] feat!: add docker project name (#4906) * add: docker project name * chore: linting --------- Co-authored-by: Jason Rasmussen --- docker/docker-compose.dev.yml | 2 ++ docker/docker-compose.prod.yml | 2 ++ docker/docker-compose.yml | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index ab1fa0c5d6..ba03a18223 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -4,6 +4,8 @@ version: "3.8" +name: immich-dev + services: immich-server: container_name: immich_server diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index 74e8b1f1e8..d9e33b0204 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -1,5 +1,7 @@ version: "3.8" +name: immich-prod + services: immich-server: container_name: immich_server diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index f020f8e340..2ea9e18faa 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,10 +1,12 @@ version: "3.8" +name: immich + services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} - command: ["start.sh", "immich"] + command: [ "start.sh", "immich" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro @@ -22,7 +24,7 @@ services: # extends: # file: hwaccel.yml # service: hwaccel - command: ["start.sh", "microservices"] + command: [ "start.sh", "microservices" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro