-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
54 lines (48 loc) · 1.54 KB
/
compose.yaml
File metadata and controls
54 lines (48 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: immich-server
x-daemonless:
title: "Immich Server"
icon: ":material-server:"
category: "Photos & Media"
description: "Self-hosted photo and video backup and management server with web UI, mobile sync, and shared albums."
upstream_url: "https://github.com/immich-app/immich"
web_url: "https://immich.app/"
freshports_url: ""
user: "bsd"
mlock: false
upstream_binary: true
appjail: true
notes: "This image is part of the [Immich Stack](https://daemonless.io/images/immich)."
docs:
env:
PUID: "User ID for the application process"
PGID: "Group ID for the application process"
TZ: "Timezone for the container"
DB_HOSTNAME: "Postgres database hostname"
DB_USERNAME: "Postgres database user"
DB_PASSWORD: "Postgres database password"
DB_DATABASE_NAME: "Postgres database name"
REDIS_HOSTNAME: "Redis hostname"
volumes:
/config: "Configuration directory (unused but mounted)"
/data: "Media storage (photos, videos, thumbnails)"
ports:
2283: "Web UI/API"
services:
immich-server:
image: ghcr.io/daemonless/immich-server:latest
container_name: immich-server
restart: unless-stopped
environment:
- DB_HOSTNAME=immich-postgres
- DB_USERNAME=postgres
- DB_PASSWORD=postgres
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis
- PUID=1000
- PGID=1000
- TZ=UTC
volumes:
- /path/to/containers/immich/config:/config
- /path/to/containers/immich/data:/data
ports:
- "2283:2283"