mirror of
https://github.com/immich-app/immich.git
synced 2025-01-02 12:48:35 +02:00
Allow docker image version pinning (#2617)
* Allow docker image version pinning * Updating docker-compose documentation. * Fixing formatting * Added Optional to documentation.
This commit is contained in:
parent
5702442783
commit
9f2b5ea86e
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
container_name: immich_server
|
container_name: immich_server
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
command: ["start-server.sh"]
|
command: ["start-server.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
@ -17,7 +17,7 @@ services:
|
|||||||
|
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
container_name: immich_microservices
|
container_name: immich_microservices
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
command: ["start-microservices.sh"]
|
command: ["start-microservices.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
container_name: immich_machine_learning
|
container_name: immich_machine_learning
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:release
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
- model-cache:/cache
|
- model-cache:/cache
|
||||||
@ -41,7 +41,7 @@ services:
|
|||||||
|
|
||||||
immich-web:
|
immich-web:
|
||||||
container_name: immich_web
|
container_name: immich_web
|
||||||
image: ghcr.io/immich-app/immich-web:release
|
image: ghcr.io/immich-app/immich-web:${IMMICH_VERSION:-release}
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
restart: always
|
restart: always
|
||||||
@ -79,7 +79,7 @@ services:
|
|||||||
|
|
||||||
immich-proxy:
|
immich-proxy:
|
||||||
container_name: immich_proxy
|
container_name: immich_proxy
|
||||||
image: ghcr.io/immich-app/immich-proxy:release
|
image: ghcr.io/immich-app/immich-proxy:${IMMICH_VERSION:-release}
|
||||||
environment:
|
environment:
|
||||||
# Make sure these values get passed through from the env file
|
# Make sure these values get passed through from the env file
|
||||||
- IMMICH_SERVER_URL
|
- IMMICH_SERVER_URL
|
||||||
|
@ -105,3 +105,12 @@ IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
|
|||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
||||||
#IMMICH_API_URL_EXTERNAL=http://localhost:3001
|
#IMMICH_API_URL_EXTERNAL=http://localhost:3001
|
||||||
|
|
||||||
|
###################################################################################
|
||||||
|
# Immich Version - Optional
|
||||||
|
#
|
||||||
|
# This allows all immich docker images to be pinned to a specific version. By default,
|
||||||
|
# the version is "release" but could be a specific version, like "v1.59.0".
|
||||||
|
###################################################################################
|
||||||
|
|
||||||
|
#IMMICH_VERSION=
|
||||||
|
@ -136,6 +136,15 @@ IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
|
|||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
||||||
#IMMICH_API_URL_EXTERNAL=http://localhost:3001
|
#IMMICH_API_URL_EXTERNAL=http://localhost:3001
|
||||||
|
|
||||||
|
###################################################################################
|
||||||
|
# Immich Version - Optional
|
||||||
|
#
|
||||||
|
# This allows all immich docker images to be pinned to a specific version. By default,
|
||||||
|
# the version is "release" but could be a specific version, like "v1.59.0".
|
||||||
|
###################################################################################
|
||||||
|
|
||||||
|
#IMMICH_VERSION=
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@ -159,6 +168,8 @@ For more information on how to use the application, please refer to the [Post In
|
|||||||
|
|
||||||
### Step 4 - Upgrading
|
### Step 4 - Upgrading
|
||||||
|
|
||||||
|
If `IMMICH_VERSION` is set, it will need to be updated to the latest or desired version.
|
||||||
|
|
||||||
When a new version of Immich is [released](https://github.com/immich-app/immich/releases), the application can be upgraded with the following commands, run in the directory with the `docker-compose.yml` file:
|
When a new version of Immich is [released](https://github.com/immich-app/immich/releases), the application can be upgraded with the following commands, run in the directory with the `docker-compose.yml` file:
|
||||||
|
|
||||||
```bash title="Upgrade Immich"
|
```bash title="Upgrade Immich"
|
||||||
|
Loading…
Reference in New Issue
Block a user