Skip to content

Commit

Permalink
feat!: add docker project name (immich-app#4906)
Browse files Browse the repository at this point in the history
* add: docker project name

* chore: linting

---------

Co-authored-by: Jason Rasmussen <[email protected]>
  • Loading branch information
Mansour-J and jrasm91 authored Nov 10, 2023
1 parent 92ec1ce commit 895129c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

version: "3.8"

name: immich-dev

services:
immich-server:
container_name: immich_server
Expand Down
2 changes: 2 additions & 0 deletions docker/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version: "3.8"

name: immich-prod

services:
immich-server:
container_name: immich_server
Expand Down
6 changes: 4 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 895129c

Please sign in to comment.