mirror of
https://github.com/YunoHost-Apps/immich_ynh.git
synced 2024-09-03 20:36:24 +02:00
Merge pull request #27 from YunoHost-Apps/master-promotion
Upgrade master from testing
This commit is contained in:
commit
752bef8530
9 changed files with 16 additions and 31 deletions
|
@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
|
||||||
- Easy-to-use and friendly interface ;
|
- Easy-to-use and friendly interface ;
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.100.0~ynh1
|
**Shipped version:** 1.100.0~ynh2
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
|
||||||
- Easy-to-use and friendly interface ;
|
- Easy-to-use and friendly interface ;
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 1.100.0~ynh1
|
**Paketatutako bertsioa:** 1.100.0~ynh2
|
||||||
|
|
||||||
## Pantaila-argazkiak
|
## Pantaila-argazkiak
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos.
|
||||||
- Interface conviviale et egronomique ;
|
- Interface conviviale et egronomique ;
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.100.0~ynh1
|
**Version incluse :** 1.100.0~ynh2
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
|
||||||
- Easy-to-use and friendly interface ;
|
- Easy-to-use and friendly interface ;
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 1.100.0~ynh1
|
**Versión proporcionada:** 1.100.0~ynh2
|
||||||
|
|
||||||
## Capturas de pantalla
|
## Capturas de pantalla
|
||||||
|
|
||||||
|
|
2
conf/env
2
conf/env
|
@ -9,7 +9,7 @@ SERVER_PORT=__PORT__
|
||||||
MICROSERVICES_PORT=__PORT_MICROSERVICES__
|
MICROSERVICES_PORT=__PORT_MICROSERVICES__
|
||||||
MACHINE_LEARNING_HOST=127.0.0.1
|
MACHINE_LEARNING_HOST=127.0.0.1
|
||||||
MACHINE_LEARNING_PORT=__PORT_MACHINELEARNING__
|
MACHINE_LEARNING_PORT=__PORT_MACHINELEARNING__
|
||||||
IMMICH_MACHINE_LEARNING_URL=127.0.0.1:__PORT_MACHINELEARNING__
|
IMMICH_MACHINE_LEARNING_URL=http://127.0.0.1:__PORT_MACHINELEARNING__
|
||||||
|
|
||||||
## Database
|
## Database
|
||||||
DB_HOSTNAME=127.0.0.1
|
DB_HOSTNAME=127.0.0.1
|
||||||
|
|
|
@ -7,7 +7,7 @@ name = "Immich"
|
||||||
description.en = "Photo and video backup solution directly from your mobile phone"
|
description.en = "Photo and video backup solution directly from your mobile phone"
|
||||||
description.fr = "Sauvegarde de photos et de vidéos directement depuis votre mobile"
|
description.fr = "Sauvegarde de photos et de vidéos directement depuis votre mobile"
|
||||||
|
|
||||||
version = "1.100.0~ynh1"
|
version = "1.100.0~ynh2"
|
||||||
|
|
||||||
maintainers = ["ewilly"]
|
maintainers = ["ewilly"]
|
||||||
|
|
||||||
|
@ -47,21 +47,6 @@ ram.runtime = "500M"
|
||||||
|
|
||||||
autoupdate.strategy = "latest_github_release"
|
autoupdate.strategy = "latest_github_release"
|
||||||
|
|
||||||
[resources.sources.geonames_cities]
|
|
||||||
url = "https://download.geonames.org/export/dump/cities500.zip"
|
|
||||||
sha256 = "afec3356a980771f20c5e96f4a877d33c97fcc331dfc6b02d6bf8a492ec43828"
|
|
||||||
in_subdir = false
|
|
||||||
|
|
||||||
[resources.sources.geonames_divisions]
|
|
||||||
url = "https://download.geonames.org/export/dump/admin1CodesASCII.txt"
|
|
||||||
sha256 = "6eace8b269cd4c9635d8f8631857c0be2cb3fb6362495f77f17f266ef7328f11"
|
|
||||||
rename = "admin1CodesASCII.txt"
|
|
||||||
|
|
||||||
[resources.sources.geonames_subdivisions]
|
|
||||||
url = "https://download.geonames.org/export/dump/admin2Codes.txt"
|
|
||||||
sha256 = "defbd99329530fa6b06e154662fb16a51a0c12caf41636be17597c58c5374f1c"
|
|
||||||
rename = "admin2Codes.txt"
|
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 3001
|
main.default = 3001
|
||||||
microservices.default = 3002
|
microservices.default = 3002
|
||||||
|
|
|
@ -191,9 +191,15 @@ myynh_install_immich() {
|
||||||
sed -i -e "s@app.listen(port)@app.listen(port, '127.0.0.1')@g" "$install_dir/app/dist/main.js"
|
sed -i -e "s@app.listen(port)@app.listen(port, '127.0.0.1')@g" "$install_dir/app/dist/main.js"
|
||||||
|
|
||||||
# Install geonames
|
# Install geonames
|
||||||
cp -a "$source_dir/geonames_cities/cities500.txt" "$install_dir/resources/"
|
mkdir -p "$source_dir/geonames"
|
||||||
cp -a "$source_dir/geonames_divisions/admin1CodesASCII.txt" "$install_dir/resources/"
|
cd "$source_dir/geonames"
|
||||||
cp -a "$source_dir/geonames_subdivisions/admin2Codes.txt" "$install_dir/resources/"
|
curl -LO "https://download.geonames.org/export/dump/cities500.zip" 2>&1
|
||||||
|
curl -LO "https://download.geonames.org/export/dump/admin1CodesASCII.txt" 2>&1
|
||||||
|
curl -LO "https://download.geonames.org/export/dump/admin2Codes.txt" 2>&1
|
||||||
|
unzip "cities500.zip"
|
||||||
|
cp -a "$source_dir/geonames/cities500.txt" "$install_dir/resources/"
|
||||||
|
cp -a "$source_dir/geonames/admin1CodesASCII.txt" "$install_dir/resources/"
|
||||||
|
cp -a "$source_dir/geonames/admin2Codes.txt" "$install_dir/resources/"
|
||||||
date --iso-8601=seconds | tr -d "\n" > "$install_dir/resources/geodata-date.txt"
|
date --iso-8601=seconds | tr -d "\n" > "$install_dir/resources/geodata-date.txt"
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
|
|
@ -15,9 +15,6 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
|
|
||||||
source_dir="$install_dir/source"
|
source_dir="$install_dir/source"
|
||||||
ynh_setup_source --source_id="main" --dest_dir="$source_dir"
|
ynh_setup_source --source_id="main" --dest_dir="$source_dir"
|
||||||
ynh_setup_source --source_id="geonames_cities" --dest_dir="$source_dir/geonames_cities/"
|
|
||||||
ynh_setup_source --source_id="geonames_divisions" --dest_dir="$source_dir/geonames_divisions/"
|
|
||||||
ynh_setup_source --source_id="geonames_subdivisions" --dest_dir="$source_dir/geonames_subdivisions/"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK PYTHON VERSION AND COMPILE IF NEEDED
|
# CHECK PYTHON VERSION AND COMPILE IF NEEDED
|
||||||
|
|
|
@ -27,9 +27,6 @@ ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
source_dir="$install_dir/source"
|
source_dir="$install_dir/source"
|
||||||
ynh_setup_source --source_id="main" --dest_dir="$source_dir" --full_replace=1
|
ynh_setup_source --source_id="main" --dest_dir="$source_dir" --full_replace=1
|
||||||
ynh_setup_source --source_id="geonames_cities" --dest_dir="$source_dir/geonames_cities/" --full_replace=1
|
|
||||||
ynh_setup_source --source_id="geonames_divisions" --dest_dir="$source_dir/geonames_divisions/" --full_replace=1
|
|
||||||
ynh_setup_source --source_id="geonames_subdivisions" --dest_dir="$source_dir/geonames_subdivisions/" --full_replace=1
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK PYTHON VERSION AND COMPILE IF NEEDED
|
# CHECK PYTHON VERSION AND COMPILE IF NEEDED
|
||||||
|
|
Loading…
Reference in a new issue