This commit is contained in:
Pavel Kuleshov 2024-06-13 21:13:46 +08:00
parent fa1c764bd3
commit ddea6b3cf0

45
immich.yml Normal file
View File

@ -0,0 +1,45 @@
services:
immich:
image: ghcr.io/imagegenius/immich:alpine
container_name: immich
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- DB_HOSTNAME='postgres14'
- DB_USERNAME=postgres
- DB_PASSWORD=postgres
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME='redis'
volumes:
- ./config:/config
- ./photos:/photos
ports:
- 8080:8080
networks:
- web
- internal_network
restart: unless-stopped
redis:
image: redis
container_name: redis
networks:
- internal_network
postgres14:
image: tensorchord/pgvecto-rs:pg14-v0.2.0
container_name: postgres14
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: immich
volumes:
- ./db:/var/lib/postgresql/data
networks:
- internal_network
networks:
web:
external: true
internal:
external: false