Skip to content

Commit

Permalink
immich
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Sep 25, 2024
1 parent 2730c80 commit b33b725
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion apps/immich/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
W9_VERSION=release
W9_DIST=community
W9_REPO=ghcr.io/immich-app/immich-server
W9_POWER_PASSWORD=uQ8E1wVTzHH8SOk3!

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
Expand All @@ -13,7 +12,10 @@ W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####

## --------environmnet from immich -----------
UPLOAD_LOCATION=./library

# TZ=Etc/UTC

DB_DATABASE_NAME=immich
DB_USERNAME=immich
DB_PASSWORD=$W9_POWER_PASSWORD
10 changes: 6 additions & 4 deletions apps/immich/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ version: '3.8'
services:
immich-server:
container_name: $W9_ID
image: $W9_REPO:$W9_VERSION
image: ghcr.io/immich-app/immich-server:$W9_VERSION
volumes:
- upload_data:/usr/src/app/upload
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
Expand All @@ -26,6 +26,8 @@ services:
image: ghcr.io/immich-app/immich-machine-learning:$W9_VERSION
volumes:
- model-cache:/cache
env_file:
- .env
restart: unless-stopped
healthcheck:
disable: false
Expand Down Expand Up @@ -58,9 +60,9 @@ services:
volumes:
model-cache:
postgresql_data:
upload_data:


networks:
default:
name: ${W9_NETWORK}
external: true
external: true

0 comments on commit b33b725

Please sign in to comment.