immich
This commit is contained in:
@@ -120,6 +120,14 @@ services:
|
||||
immich:
|
||||
image: ghcr.io/imagegenius/immich:latest
|
||||
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:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
@@ -141,23 +149,28 @@ services:
|
||||
- /srv/immich/uploads:/photos
|
||||
# - path_to_libraries:/libraries #optional
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 7878:8080
|
||||
restart: unless-stopped
|
||||
|
||||
# This container requires an external application to be run separately.
|
||||
# By default, ports for the databases are opened, be careful when deploying it
|
||||
# Redis:
|
||||
redis:
|
||||
networks:
|
||||
- traefik
|
||||
image: redis
|
||||
ports:
|
||||
- 6379:6379
|
||||
container_name: redis
|
||||
|
||||
# PostgreSQL 14:
|
||||
postgres14:
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
||||
ports:
|
||||
- 5432:5432
|
||||
container_name: postgres14
|
||||
networks:
|
||||
- traefik
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
|
||||
Reference in New Issue
Block a user