repo prefix

This commit is contained in:
tavo 2025-08-02 13:04:01 -06:00
parent 3246f95435
commit 53fe9bfb03
3 changed files with 17 additions and 4 deletions

View file

@ -29,8 +29,8 @@ services:
# 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
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
#env_file:
# - .env
env_file:
- ${REPO_PREFIX}immich.env
#ports:
# - '2283:2283'
depends_on:
@ -50,8 +50,8 @@ services:
# service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable
volumes:
- model-cache:/cache
#env_file:
# - .env
env_file:
- ${REPO_PREFIX}immich.env
restart: always
healthcheck:
disable: false

View file

@ -1,7 +1,9 @@
TS_HOSTNAME=immich
TS_AUTHKEY=tskey-client-nnn-nnn # Change required
TS_EXTRA_ARGS=--advertise-tags=tag:container
BASE_DATA_DIR=${BASE_DATA_DIR:-.} # If desired, change data store location
#REPO_PREFIX=${REPO_PREFIX:-immich/}
# You can find documentation for all the supported env variables at
# https://immich.app/docs/install/environment-variables

11
immich/immich.env Normal file
View file

@ -0,0 +1,11 @@
BASE_DATA_DIR=${BASE_DATA_DIR:-.} # If desired, change data store location
# You can find documentation for all the supported env variables at
# https://immich.app/docs/install/environment-variables
UPLOAD_LOCATION=${BASE_DATA_DIR}/immich-data/library
DB_DATA_LOCATION=${BASE_DATA_DIR}/immich-data/postgres
# TZ=Etc/UTC
IMMICH_VERSION=release
DB_PASSWORD=postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich