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
|
# Immich variables
|
||||||
#############################
|
#############################
|
||||||
UPLOAD_LOCATION=/data/immich
|
IMMICH_UPLOAD_LOCATION=/data/immich
|
||||||
IMMICH_VERSION=release
|
IMMICH_VERSION=release
|
||||||
|
|
||||||
DB_HOSTNAME=immich_postgres
|
IMMICH_DB_HOSTNAME=immich_postgres
|
||||||
DB_USERNAME=postgres
|
IMMICH_DB_USERNAME=postgres
|
||||||
DB_PASSWORD=password
|
IMMICH_DB_PASSWORD=password
|
||||||
DB_DATABASE_NAME=immich
|
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}
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
command: [ "start.sh", "immich" ]
|
command: [ "start.sh", "immich" ]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${IMMICH_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:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${IMMICH_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: ${DB_PASSWORD}
|
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD}
|
||||||
POSTGRES_USER: ${DB_USERNAME}
|
POSTGRES_USER: ${IMMICH_DB_USERNAME}
|
||||||
POSTGRES_DB: ${DB_DATABASE_NAME}
|
POSTGRES_DB: ${IMMICH_DB_DATABASE_NAME}
|
||||||
volumes:
|
volumes:
|
||||||
- immich-pgdata:/var/lib/postgresql/data
|
- immich-pgdata:/var/lib/postgresql/data
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user