This commit is contained in:
msnie
2024-07-27 20:52:37 +02:00
parent 1f33c2d69d
commit 6156381730
+14 -1
View File
@@ -120,6 +120,14 @@ services:
immich: immich:
image: ghcr.io/imagegenius/immich:latest image: ghcr.io/imagegenius/immich:latest
container_name: immich container_name: immich
networks:
- traefik
labels:
- traefik.enable=true
- "traefik.http.routers.imm.entrypoints=websecure"
- "traefik.http.routers.imm.rule=Host(`imm.$DOMAIN_NAME`)"
- "traefik.http.routers.imm.tls.certresolver=letsencr"
- "traefik.http.services.imm.loadbalancer.server.port=7878"
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
@@ -141,23 +149,28 @@ services:
- /srv/immich/uploads:/photos - /srv/immich/uploads:/photos
# - path_to_libraries:/libraries #optional # - path_to_libraries:/libraries #optional
ports: ports:
- 8080:8080 - 7878:8080
restart: unless-stopped restart: unless-stopped
# This container requires an external application to be run separately. # This container requires an external application to be run separately.
# By default, ports for the databases are opened, be careful when deploying it # By default, ports for the databases are opened, be careful when deploying it
# Redis: # Redis:
redis: redis:
networks:
- traefik
image: redis image: redis
ports: ports:
- 6379:6379 - 6379:6379
container_name: redis container_name: redis
# PostgreSQL 14: # PostgreSQL 14:
postgres14: postgres14:
image: tensorchord/pgvecto-rs:pg14-v0.2.0 image: tensorchord/pgvecto-rs:pg14-v0.2.0
ports: ports:
- 5432:5432 - 5432:5432
container_name: postgres14 container_name: postgres14
networks:
- traefik
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres