blob: 0e8176ad95431fa07780a654dac4078517f06c28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
captainVersion: 4
services:
$$cap_appname:
caproverExtra:
dockerfileLines:
- FROM ghcr.io/immich-app/immich-server:$$cap_version
- CMD ["start.sh", "immich"]
containerHttpPort: 3001
environment:
DB_PASSWORD: $$cap_app_db_pass
DB_USERNAME: $$cap_app_db_user
DB_DATABASE_NAME: $$cap_app_db_name
DB_HOSTNAME: srv-captain--$$cap_appname-db
REDIS_HOSTNAME: srv-captain--$$cap_appname-redis
UPLOAD_LOCATION: $$cap_app_upload_location
IMMICH_MACHINE_LEARNING_URL: http://srv-captain--$$cap_appname-machine-learning:3003
volumes:
- $$cap_app_upload_location:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
depends_on:
- $$cap_appname-redis
- $$cap_appname-db
$$cap_appname-microservices:
caproverExtra:
notExposeAsWebApp: 'true'
dockerfileLines:
- FROM ghcr.io/immich-app/immich-server:$$cap_version
- CMD ["start.sh", "microservices"]
environment:
DB_PASSWORD: $$cap_app_db_pass
DB_USERNAME: $$cap_app_db_user
DB_DATABASE_NAME: $$cap_app_db_name
DB_HOSTNAME: srv-captain--$$cap_appname-db
REDIS_HOSTNAME: srv-captain--$$cap_appname-redis
UPLOAD_LOCATION: $$cap_app_upload_location
IMMICH_MACHINE_LEARNING_URL: http://srv-captain--$$cap_appname-machine-learning:3003
volumes:
- $$cap_app_upload_location:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
depends_on:
- $$cap_appname-redis
- $$cap_appname-db
$$cap_appname-machine-learning:
caproverExtra:
notExposeAsWebApp: 'true'
image: ghcr.io/immich-app/immich-machine-learning:$$cap_version
environment:
DB_PASSWORD: $$cap_app_db_pass
DB_USERNAME: $$cap_app_db_user
DB_DATABASE_NAME: $$cap_app_db_name
DB_HOSTNAME: srv-captain--$$cap_appname-db
REDIS_HOSTNAME: srv-captain--$$cap_appname-redis
UPLOAD_LOCATION: $$cap_app_upload_location
volumes:
- $$cap_appname-model-cache:/cache
$$cap_appname-redis:
caproverExtra:
notExposeAsWebApp: 'true'
image: redis:$$cap_redis_ver
$$cap_appname-db:
caproverExtra:
notExposeAsWebApp: 'true'
image: tensorchord/pgvecto-rs:$$cap_app_db_ver
environment:
POSTGRES_PASSWORD: $$cap_app_db_pass
POSTGRES_USER: $$cap_app_db_user
POSTGRES_DB: $$cap_app_db_name
PG_DATA: /var/lib/postgresql/data
volumes:
- $$cap_appname-db-data:/var/lib/postgresql/data
caproverOneClickApp:
displayName: Immich
description: Open source (AGPLv3) Google Photos alternative. Backup your phone's photos and videos to your private server.
isOfficial: false
documentation: https://immich.app
instructions:
start: |-
Leave every default value as is for a working and simple installation. You can specify the (full) path to the directory you want to save your media at. The directory must exist beforehand. Immich can be used from a browser but kind of requires you to install the Immich app on your phone. If you have big media files (bigger than 500MB) that you want to backup, update your Nginx configuration file in caprover to increase your `client_max_body_size`.
end: |-
On your first visit it will ask for email and password to set up the admin user. Remember to change the default Nginx configuration and increasing the 'client_max_body_size' value if you expect to backup files bigger than 500MB. They will fail to upload if you don't.
variables:
- label: Immich version
id: $$cap_version
description: Check out their valid tags at https://github.com/immich-app/immich/releases
defaultValue: v1.105.1
- label: Immich redis version
id: $$cap_redis_ver
defaultValue: 6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
description: Check out their valid tags at https://hub.docker.com/_/redis/tags
- label: Database password
id: $$cap_app_db_pass
description: Password for accessing the database. A random one has been generated for you.
defaultValue: $$cap_gen_random_hex(32)
- label: Database username
id: $$cap_app_db_user
description: Username to access the database
defaultValue: 'immich'
- label: Database name
id: $$cap_app_db_name
description: A name for the database used by Immich
defaultValue: 'immich'
- label: PostgreSQL database version
id: $$cap_app_db_ver
description: Immich uses PostgreSQL with the pgvecto.rs extension. Check the valid tags at https://hub.docker.com/r/tensorchord/pgvecto-rs/tags
defaultValue: pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
- label: Upload directory
id: $$cap_app_upload_location
description: Full path to the directory where you plan to store all your files. It should be created beforehand. If you want caprover to create it for you just leave the default 'immich-data'
defaultValue: immich-data
|