revert variable renaming

This commit is contained in:
Peter Smit
2024-02-18 12:00:59 +01:00
parent aff131a440
commit 450fb0debe
2 changed files with 12 additions and 11 deletions

View File

@@ -13,12 +13,13 @@ GITEA_CONFIG_LOCATION=/data/gitea/config
############################# #############################
# Immich variables # Immich variables
############################# #############################
IMMICH_UPLOAD_LOCATION=/data/immich //TODO: prefix make these variables not conflict with potential future services
UPLOAD_LOCATION=/data/immich
IMMICH_VERSION=release IMMICH_VERSION=release
IMMICH_DB_HOSTNAME=immich_postgres DB_HOSTNAME=immich_postgres
IMMICH_DB_USERNAME=postgres DB_USERNAME=postgres
IMMICH_DB_PASSWORD=password DB_PASSWORD=password
IMMICH_DB_DATABASE_NAME=immich DB_DATABASE_NAME=immich
IMMICH_REDIS_HOSTNAME=immich_redis REDIS_HOSTNAME=immich_redis

View File

@@ -35,7 +35,7 @@ services:
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
command: [ "start.sh", "immich" ] command: [ "start.sh", "immich" ]
volumes: volumes:
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- .env - .env
@@ -50,7 +50,7 @@ services:
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
command: [ "start.sh", "microservices" ] command: [ "start.sh", "microservices" ]
volumes: volumes:
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload - ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- .env - .env
@@ -76,9 +76,9 @@ services:
env_file: env_file:
- .env - .env
environment: environment:
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${IMMICH_DB_USERNAME} POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${IMMICH_DB_DATABASE_NAME} POSTGRES_DB: ${DB_DATABASE_NAME}
volumes: volumes:
- immich-pgdata:/var/lib/postgresql/data - immich-pgdata:/var/lib/postgresql/data
restart: always restart: always