Compare commits
15 Commits
0.1.0+late
...
external-s
| Author | SHA1 | Date | |
|---|---|---|---|
| a39fc87367 | |||
| 50d98d1bf2 | |||
| 7a9321b4b3 | |||
| 6dd3c607e3 | |||
| 81c57eb30f | |||
| bd7f31ff37 | |||
| a2215cfc76 | |||
| 311cd08387 | |||
| e8e9592e76 | |||
| 53c6d41ebc | |||
| 62bbd49826 | |||
| 8d386da7b7 | |||
| faf4707535 | |||
| 3ee906e3ad | |||
| 2fb4a7a792 |
@ -32,7 +32,7 @@ steps:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
- toolshed/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
||||
@ -17,9 +17,6 @@ DB_DATA_LOCATION=./postgres
|
||||
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
# TZ=Etc/UTC
|
||||
|
||||
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
|
||||
IMMICH_VERSION=release
|
||||
|
||||
# Connection secret for postgres. You should change it to a random password
|
||||
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
|
||||
DB_PASSWORD=postgres
|
||||
|
||||
14
README.md
14
README.md
@ -22,3 +22,17 @@
|
||||
* `abra app deploy <app-name>`
|
||||
|
||||
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
||||
|
||||
|
||||
## Volume
|
||||
|
||||
You can manually create a volume that has more storage for the library. For example samba: https://docs.docker.com/engine/storage/volumes/#create-cifssamba-volumes
|
||||
|
||||
```
|
||||
docker volume create \
|
||||
--driver local \
|
||||
--opt type=cifs \
|
||||
--opt device=//uxxxxx.your-server.de/backup \
|
||||
--opt o=addr=uxxxxx.your-server.de,username=uxxxxxxx,password=*****,file_mode=0777,dir_mode=0777 \
|
||||
--name immich_example_com_uploads
|
||||
```
|
||||
|
||||
37
compose.yml
37
compose.yml
@ -3,9 +3,9 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: immich-server:latest
|
||||
image: ghcr.io/immich-app/immich-server:v2.4.1
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
|
||||
- uploads:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- UPLOAD_LOCATION
|
||||
@ -15,8 +15,9 @@ services:
|
||||
- DB_PASSWORD
|
||||
- DB_USERNAME
|
||||
- DB_DATABASE_NAME
|
||||
ports:
|
||||
- 2283:2283
|
||||
networks:
|
||||
- proxy
|
||||
- backend
|
||||
healthcheck:
|
||||
disable: false
|
||||
deploy:
|
||||
@ -26,35 +27,43 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+latest"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.1.0+v2.4.1"
|
||||
|
||||
|
||||
machine-learning:
|
||||
image: immich-machine-learning:latest
|
||||
immich-machine-learning: # TODO: this has to be that name, as the frontend tries to reach it at: http://immich-machine-learning:3003
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v2.4.1
|
||||
ports:
|
||||
- 3003:3003
|
||||
volumes:
|
||||
- model-cache:/cache
|
||||
networks:
|
||||
- backend
|
||||
healthcheck:
|
||||
disable: false
|
||||
redis:
|
||||
image: redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
|
||||
image: redis:8.4-alpine
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
|
||||
networks:
|
||||
- backend
|
||||
database:
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME}
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME}
|
||||
POSTGRES_INITDB_ARGS: '--data-checksums'
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}/postgres:/var/lib/postgresql/data
|
||||
ports:
|
||||
- 5432:5432
|
||||
|
||||
- postgres:/var/lib/postgresql/data
|
||||
networks:
|
||||
- backend
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
backend:
|
||||
|
||||
volumes:
|
||||
uploads:
|
||||
postgres:
|
||||
model-cache:
|
||||
|
||||
1
release/0.1.1+release
Normal file
1
release/0.1.1+release
Normal file
@ -0,0 +1 @@
|
||||
kind of works, still wip
|
||||
14
release/0.2.1+v1.136.0
Normal file
14
release/0.2.1+v1.136.0
Normal file
@ -0,0 +1,14 @@
|
||||
when upgrading from below 1.132.0 first need to run 1.132.0-1.136.0 first! see https://immich.app/errors/#typeorm-upgrade
|
||||
|
||||
### DB migration failing: multiple primary keys for table "geodata_places"
|
||||
|
||||
https://github.com/immich-app/immich/issues/20167
|
||||
|
||||
I ran into this issue while upgrading and had to remove it manually:
|
||||
|
||||
```bash
|
||||
abra app run immich.example.com database bash
|
||||
psql -U postgres
|
||||
\c immich
|
||||
ALTER TABLE "geodata_places" DROP CONSTRAINT IF EXISTS "geodata_places_tmp_pkey";
|
||||
```
|
||||
Reference in New Issue
Block a user