feat!: add docker project name (#4906)

* add: docker project name

* chore: linting

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Mansour 2023-11-10 15:43:21 +13:00 committed by GitHub
parent 92ec1ce77f
commit 895129c997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -4,6 +4,8 @@
version: "3.8"
name: immich-dev
services:
immich-server:
container_name: immich_server

View File

@ -1,5 +1,7 @@
version: "3.8"
name: immich-prod
services:
immich-server:
container_name: immich_server

View File

@ -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