Files
Compose-Files/Docker-Compose/Immich/immich.yml
T
2026-07-23 19:38:14 -04:00

32 lines
1.1 KiB
YAML

services:
# Immich - Photo/video server
immich:
container_name: immich
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
profiles: ["apps", "all"]
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- default
ports:
- "${IMMICH_PORT}:2283"
depends_on:
- redis
- immich-db
healthcheck:
disable: false
# extends:
# file: hwaccel.transcoding.yml
# service: nvenc # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${IMMICH_FOLDER}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
environment:
DB_PASSWORD: ${IMMICHDB_POSTGRESQL_PASSWORD}
DB_HOSTNAME: immich-db
DB_USERNAME: immich_db_user
DB_DATABASE_NAME: immich
REDIS_HOSTNAME: redis
# DOCKER-LABELS-PLACEHOLDER