add immich

This commit is contained in:
Schneider Roland 2025-03-10 21:49:42 +01:00
parent 7234a21eea
commit 1f5bbeda51
2 changed files with 39 additions and 23 deletions

View File

@ -11,6 +11,15 @@ name: immich
services:
immich-server:
labels:
- traefik.http.routers.immich.rule=Host(`immich.rschneider.net`)
- traefik.http.routers.immich.tls=true
- traefik.http.services.immich.loadbalancer.server.port=2283
- traefik.http.routers.immich.service=immich
- traefik.http.routers.immich-public.rule=Host(`immich.rschneider.hu`)
- traefik.http.routers.immich-public.tls=true
- traefik.http.routers.immich-public.service=immich-public
- traefik.http.services.immich-public.loadbalancer.server.port=2283
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
@ -23,13 +32,15 @@ services:
env_file:
- .env
ports:
- '2283:2283'
- '4119:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
networks:
traefik_traefik:
immich-machine-learning:
container_name: immich_machine_learning
@ -89,3 +100,7 @@ volumes:
model-cache:
postgres:
immich:
networks:
traefik_traefik:
external: true

View File

@ -5,7 +5,7 @@
router redirects port range 4100-4200 to the infra server
| port | service | description | url |
|------|-------------|-----------------|------------------------------------|
|------|------------|-----------------|------------------------------------|
| 4100 | gitea | web | |
| 4101 | gitea | ssh | |
| 4102 | xwiki | web | |
@ -27,3 +27,4 @@ router redirects port range 4100-4200 to the infra server
| 4116 | grafana | grafana web | https://grafana.rschneider.net |
| 4117 | prometheus | prometheus web | https://prometheus.rschneider.net |
| 4118 | loki | loki web | https://loki.rschneider.net |
| 4119 | immich | immich | https://immich.rschneider.net |