first commit

This commit is contained in:
2026-06-17 18:10:14 +00:00
commit 0e64750b50
3 changed files with 69 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
.env
+54
View File
@@ -0,0 +1,54 @@
name: immich
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
restart: unless-stopped
ports:
- "2283:2283"
volumes:
- /srv/immich/library:/data
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
depends_on:
- redis
- database
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
restart: unless-stopped
volumes:
- /srv/immich/models:/cache
env_file:
- .env
healthcheck:
disable: false
redis:
container_name: immich_redis
image: docker.io/valkey/valkey:9
restart: unless-stopped
healthcheck:
test: redis-cli ping || exit 1
database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
restart: unless-stopped
environment:
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_DATABASE_NAME}
DB_STORAGE_TYPE: ${DB_STORAGE_TYPE:-SSD}
volumes:
- /srv/immich/postgres:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1
interval: 30s
timeout: 5s
retries: 5
+14
View File
@@ -0,0 +1,14 @@
TZ=Europe/Oslo
IMMICH_VERSION=release
DB_USERNAME=immich
DB_PASSWORD=example-secret-long-password-change-me
DB_DATABASE_NAME=immich
DB_HOSTNAME=database
DB_PORT=5432
DB_STORAGE_TYPE=SSD
REDIS_HOSTNAME=redis
REDIS_PORT=6379