separate immich variables
This commit is contained in:
12
.env.example
12
.env.example
@@ -13,12 +13,12 @@ GITEA_CONFIG_LOCATION=/data/gitea/config
|
||||
#############################
|
||||
# Immich variables
|
||||
#############################
|
||||
UPLOAD_LOCATION=/data/immich
|
||||
IMMICH_UPLOAD_LOCATION=/data/immich
|
||||
IMMICH_VERSION=release
|
||||
|
||||
DB_HOSTNAME=immich_postgres
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=password
|
||||
DB_DATABASE_NAME=immich
|
||||
IMMICH_DB_HOSTNAME=immich_postgres
|
||||
IMMICH_DB_USERNAME=postgres
|
||||
IMMICH_DB_PASSWORD=password
|
||||
IMMICH_DB_DATABASE_NAME=immich
|
||||
|
||||
REDIS_HOSTNAME=immich_redis
|
||||
IMMICH_REDIS_HOSTNAME=immich_redis
|
||||
@@ -35,7 +35,7 @@ services:
|
||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||
command: [ "start.sh", "immich" ]
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
@@ -50,7 +50,7 @@ services:
|
||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||
command: [ "start.sh", "microservices" ]
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
@@ -76,9 +76,9 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME}
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME}
|
||||
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD}
|
||||
POSTGRES_USER: ${IMMICH_DB_USERNAME}
|
||||
POSTGRES_DB: ${IMMICH_DB_DATABASE_NAME}
|
||||
volumes:
|
||||
- immich-pgdata:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user