File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ x-shared-env: &shared-env
18
18
- IMMICH_VERSION=${IMMICH_VERSION:-release} # The Immich version to use, editable in Coolify
19
19
20
20
# Default values, editable in Coolify UI
21
- - DB_PASSWORD=${DB_PASSWORD:-postgres } # Default: "postgres", can be overridden
22
- - DB_USERNAME=${DB_USERNAME:-postgres } # Default: "postgres", can be overridden
21
+ - DB_PASSWORD=${SERVICE_PASSWORD_IMMICH } # Default: "postgres", can be overridden
22
+ - DB_USERNAME=${SERVICE_USER_IMMICH } # Default: "postgres", can be overridden
23
23
- DB_DATABASE_NAME=${DB_DATABASE_NAME:-immich} # Default: "immich", can be overridden
24
24
25
25
# Optional timezone variable, uninitialized, editable in Coolify UI\
26
26
- TZ=${TZ:-Etc/UTC}
27
27
28
28
services :
29
- immich-server :
29
+ immich :
30
30
container_name : immich_server
31
31
image : ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
32
32
# extends:
@@ -37,8 +37,10 @@ services:
37
37
- ${UPLOAD_LOCATION}:/usr/src/app/upload
38
38
- /etc/localtime:/etc/localtime:ro
39
39
<< : *shared-env
40
- ports :
41
- - 2283:3001
40
+ environment :
41
+ - SERVICE_FQDN_IMMICH=/
42
+ - _APP_URL=$SERVICE_FQDN_IMMICH
43
+ - SERVICE_FQDN_IMMICH_3001
42
44
depends_on :
43
45
- redis
44
46
- database
You can’t perform that action at this time.
0 commit comments