27 lines
530 B
YAML
27 lines
530 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
immich-server:
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
container_name: immich_server
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
DB_HOSTNAME: database
|
|
DB_USERNAME: immich
|
|
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
|
|
DB_DATABASE_NAME: immich
|
|
REDIS_HOSTNAME: redis
|
|
|
|
volumes:
|
|
- /mnt/user/photos/immich:/usr/src/app/upload
|
|
|
|
networks:
|
|
- immich_default
|
|
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
networks:
|
|
immich_default:
|
|
external: true |