generated from YunoHost/example_ynh
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from YunoHost-Apps/master-promotion
Upgrade master from testing
- Loading branch information
Showing
23 changed files
with
86 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Ports | ||
IMMICH_HOST=127.0.0.1 | ||
IMMICH_PORT=__PORT_MACHINELEARNING__ | ||
|
||
## Database | ||
DB_HOSTNAME=127.0.0.1 | ||
DB_PORT=__DB_PORT__ | ||
DB_USERNAME=__APP__ | ||
DB_PASSWORD=__DB_PWD__ | ||
DB_DATABASE_NAME=__APP__ | ||
DB_VECTOR_EXTENSION=pgvector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -a | ||
source "__INSTALL_DIR__/env" | ||
source "__INSTALL_DIR__/env-machine-learning" | ||
set +a | ||
|
||
cd "__INSTALL_DIR__/app/machine-learning" | ||
source venv/bin/activate | ||
|
||
: "${MACHINE_LEARNING_HOST:=127.0.0.1}" | ||
: "${MACHINE_LEARNING_PORT:=__PORT_MACHINELEARNING__}" | ||
: "${IMMICH_HOST:=127.0.0.1}" | ||
: "${IMMICH_PORT:=__PORT_MACHINELEARNING__}" | ||
: "${MACHINE_LEARNING_WORKERS:=1}" | ||
: "${MACHINE_LEARNING_WORKER_TIMEOUT:=120}" | ||
|
||
exec gunicorn app.main:app \ | ||
-k app.config.CustomUvicornWorker \ | ||
-b "$IMMICH_HOST":"$IMMICH_PORT" \ | ||
-w "$MACHINE_LEARNING_WORKERS" \ | ||
-b "$MACHINE_LEARNING_HOST":"$MACHINE_LEARNING_PORT" \ | ||
-t "$MACHINE_LEARNING_WORKER_TIMEOUT" \ | ||
--log-config-json log_conf.json \ | ||
--graceful-timeout 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -a | ||
. "__INSTALL_DIR__/env" | ||
. "__INSTALL_DIR__/env-server" | ||
set +a | ||
|
||
cd "__INSTALL_DIR__/app" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
As the pyhton version shipped in Debian stable is not always supported, a recent version could be built during the installation process. It may take a while to achieve that (15 to 60 minutes). | ||
|
||
This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. | ||
HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). | ||
**HEIC/HEIF file format is not supported** (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). | ||
|
||
Please ensure **your mobile app and server are on the same version**. Otherwise, you won't be able to access the app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Comme la version python livrée dans Debian stable n'est pas toujours prise en charge, une version récente pourrait être construite pendant le processus d'installation. Cela peut prendre un certain temps pour y parvenir (15 à 60 minutes). | ||
|
||
Ce package supporte les formats d'images suivant : JPEG, PNG, WebP, AVIF (limité à profondeur de couleur de 8 bits), TIFF, GIF et SVG. | ||
Le format HEIC/HEIF n'est pas supporté (cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). | ||
**Le format HEIC/HEIF n'est pas supporté** (cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). | ||
|
||
Assurez-vous que **l'application mobile et le serveur sont sur la même version**. Dans le cas contraire vous risquez de ne pas pouvoir accèder à l'application. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,8 +145,6 @@ myynh_install_immich() { | |
cp -a "$source_dir/server/resources" "$install_dir/app/" | ||
cp -a "$source_dir/server/package.json" "$install_dir/app/" | ||
cp -a "$source_dir/server/package-lock.json" "$install_dir/app/" | ||
cp -a "$source_dir/server/start-microservices.sh" "$install_dir/app/" | ||
cp -a "$source_dir/server/start-server.sh" "$install_dir/app/" | ||
cp -a "$source_dir/LICENSE" "$install_dir/app/" | ||
# Install custom start.sh script | ||
ynh_add_config --template="immich-server-start.sh" --destination="$install_dir/app/start.sh" | ||
|
@@ -187,7 +185,7 @@ myynh_install_immich() { | |
cd "$install_dir/app" | ||
ynh_exec_warn_less "$ynh_npm" install sharp | ||
|
||
# Use 127.0.0.1 for microservices | ||
# Use 127.0.0.1 | ||
sed -i -e "[email protected](port)@app.listen(port, '127.0.0.1')@g" "$install_dir/app/dist/main.js" | ||
|
||
# Install geonames | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters