6
6
7
7
name : immich
8
8
9
- x-shared-env : &shared-env
10
- environment :
11
- # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
12
-
13
- # Hardcoded values, not editable in Coolify UI
14
- - UPLOAD_LOCATION=./library # The location where your uploaded files are stored
15
- - DB_DATA_LOCATION=./postgres # The location where your database files are stored
16
-
17
- # Uninitialized variables, editable in Coolify UI
18
- - IMMICH_VERSION=${IMMICH_VERSION:-release} # The Immich version to use, editable in Coolify
19
-
20
- # Default values, editable in Coolify UI
21
- - DB_PASSWORD=${SERVICE_PASSWORD_IMMICH} # Default: "postgres", can be overridden
22
- - DB_USERNAME=${SERVICE_USER_IMMICH} # Default: "postgres", can be overridden
23
- - DB_DATABASE_NAME=${DB_DATABASE_NAME:-immich} # Default: "immich", can be overridden
24
-
25
- # Optional timezone variable, uninitialized, editable in Coolify UI\
26
- - TZ=${TZ:-Etc/UTC}
27
-
28
9
services :
29
10
immich :
30
11
container_name : immich_server
@@ -36,11 +17,21 @@ services:
36
17
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
37
18
- ${UPLOAD_LOCATION}:/usr/src/app/upload
38
19
- /etc/localtime:/etc/localtime:ro
39
- << : *shared-env
40
20
environment :
41
- - SERVICE_FQDN_IMMICH=/
42
- - _APP_URL=$SERVICE_FQDN_IMMICH
43
21
- SERVICE_FQDN_IMMICH_3001
22
+ # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
23
+ # Hardcoded values, not editable in Coolify UI
24
+ - UPLOAD_LOCATION=./library # The location where your uploaded files are stored
25
+ - DB_DATA_LOCATION=./postgres # The location where your database files are stored
26
+
27
+ - IMMICH_VERSION=${IMMICH_VERSION:-release} # The Immich version to use, editable in Coolify
28
+
29
+ # Default values, editable in Coolify UI
30
+ - DB_PASSWORD=$SERVICE_PASSWORD_DATABASE # Default: "postgres", can be overridden
31
+ - DB_USERNAME=$SERVICE_USER_DATABASE # Default: "postgres", can be overridden
32
+ - DB_DATABASE_NAME=${DB_DATABASE_NAME:-immich} # Default: "immich", can be overridden
33
+
34
+ - TZ=${TZ:-Etc/UTC}
44
35
depends_on :
45
36
- redis
46
37
- database
@@ -58,7 +49,21 @@ services:
58
49
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
59
50
volumes :
60
51
- model-cache:/cache
61
- << : *shared-env
52
+ environment :
53
+ # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
54
+
55
+ # Hardcoded values, not editable in Coolify UI
56
+ - UPLOAD_LOCATION=./library # The location where your uploaded files are stored
57
+ - DB_DATA_LOCATION=./postgres # The location where your database files are stored
58
+
59
+ - IMMICH_VERSION=${IMMICH_VERSION:-release} # The Immich version to use, editable in Coolify
60
+
61
+ # Default values, editable in Coolify UI
62
+ - DB_PASSWORD=$SERVICE_PASSWORD_DATABASE # Default: "postgres", can be overridden
63
+ - DB_USERNAME=$SERVICE_USER_DATABASE # Default: "postgres", can be overridden
64
+ - DB_DATABASE_NAME=${DB_DATABASE_NAME:-immich} # Default: "immich", can be overridden
65
+
66
+ - TZ=${TZ:-Etc/UTC}
62
67
restart : always
63
68
healthcheck :
64
69
disable : false
0 commit comments