app: add immich
This commit is contained in:
parent
6d6984deae
commit
350417a441
30
apps/immich/config.json
Normal file
30
apps/immich/config.json
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"$schema": "../schema.json",
|
||||||
|
"name": "Immich",
|
||||||
|
"available": true,
|
||||||
|
"exposable": true,
|
||||||
|
"port": 8120,
|
||||||
|
"id": "immich",
|
||||||
|
"tipi_version": 1,
|
||||||
|
"version": "1.28.0",
|
||||||
|
"categories": ["data", "photography"],
|
||||||
|
"description": "Photo and video backup solution directly from your mobile phone.",
|
||||||
|
"short_desc": "Photo and video backup solution directly from your mobile phone.",
|
||||||
|
"author": "Alex Tran",
|
||||||
|
"website": "https://www.immich.app/",
|
||||||
|
"source": "https://github.com/immich-app/immich",
|
||||||
|
"form_fields": [
|
||||||
|
{
|
||||||
|
"type": "random",
|
||||||
|
"label": "DB_PASSWORD",
|
||||||
|
"min": 32,
|
||||||
|
"env_variable": "DB_PASSWORD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "random",
|
||||||
|
"label": "JWT_SECRET",
|
||||||
|
"min": 32,
|
||||||
|
"env_variable": "JWT_SECRET"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
107
apps/immich/docker-compose.yml
Normal file
107
apps/immich/docker-compose.yml
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
immich-server:
|
||||||
|
image: altran1502/immich-server:release
|
||||||
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
||||||
|
- DB_HOSTNAME=immich_db
|
||||||
|
- DB_USERNAME=tipi
|
||||||
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
|
- DB_NAME=immich
|
||||||
|
- REDIS_HOSTNAME=immich-redis
|
||||||
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
|
depends_on:
|
||||||
|
- immich-redis
|
||||||
|
- immich-db
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
immich-microservices:
|
||||||
|
image: altran1502/immich-server:release
|
||||||
|
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
||||||
|
- DB_HOSTNAME=immich_db
|
||||||
|
- DB_USERNAME=tipi
|
||||||
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
|
- DB_NAME=immich
|
||||||
|
- REDIS_HOSTNAME=immich-redis
|
||||||
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
|
depends_on:
|
||||||
|
- immich-redis
|
||||||
|
- immich-db
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
immich-machine-learning:
|
||||||
|
image: altran1502/immich-machine-learning:release
|
||||||
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
||||||
|
- DB_HOSTNAME=immich_db
|
||||||
|
- DB_USERNAME=tipi
|
||||||
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
|
- DB_NAME=immich
|
||||||
|
depends_on:
|
||||||
|
- immich-db
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
immich-web:
|
||||||
|
image: altran1502/immich-web:release
|
||||||
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
immich-redis:
|
||||||
|
container_name: immich-redis
|
||||||
|
image: redis:6.2
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
immich-db:
|
||||||
|
container_name: immich-db
|
||||||
|
image: postgres:14
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||||
|
POSTGRES_USER: tipi
|
||||||
|
POSTGRES_DB: immich
|
||||||
|
PG_DATA: /var/lib/postgresql/data
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
immich:
|
||||||
|
container_name: immich
|
||||||
|
image: altran1502/immich-proxy:release
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:80
|
||||||
|
depends_on:
|
||||||
|
- immich-server
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
labels:
|
||||||
|
traefik.enable: ${APP_EXPOSED}
|
||||||
|
traefik.http.routers.immich.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.immich.entrypoints: websecure
|
||||||
|
traefik.http.routers.immich.service: immich
|
||||||
|
traefik.http.routers.immich.tls.certresolver: myresolver
|
||||||
|
traefik.http.services.immich.loadbalancer.server.port: 80
|
||||||
|
|
||||||
|
|
5
apps/immich/metadata/description.md
Normal file
5
apps/immich/metadata/description.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
## High performance self-hosted photo and video backup solution.
|
||||||
|
|
||||||
|
An open source, high performance self-hosted backup solution for videos and photos on your mobile phone
|
||||||
|
|
||||||
|
![Screenshot](https://raw.githubusercontent.com/immich-app/immich/main/design/web-home.jpeg)
|
BIN
apps/immich/metadata/logo.jpg
Normal file
BIN
apps/immich/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue
Block a user