1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

new version, debug mode (aka no cert verify)

This commit is contained in:
Chris Vogel 2024-04-13 18:50:07 +02:00
parent b02d3d4045
commit 94e02cb8c3
3 changed files with 5 additions and 7 deletions

View file

@ -1,7 +1,7 @@
[General]
InstanceName = __FLOHMARKT_NAME__
ExternalURL = https://__DOMAIN____PATH__
DebugMode = 0
DebugMode = 1
JwtSecret = __JWTSECRET__
DataPath = __DATA_DIR__
@ -12,7 +12,7 @@ Server = http://__APP__:__PASSWORD_COUCHDB_ADMIN__@127.0.0.1:__PORT_COUCHDB__/
Server = 127.0.0.1
Port = 587
# die From Adresse sollte in app_senders_login_maps landen...
From = __APP__@__DOMAIN__
From = __MAIL_USER__@__MAIL_DOMAIN__
User = __APP__
Password = __MAIL_PWD__
CAFile = /etc/ssl/certs/ca-certificates.crt

View file

@ -7,10 +7,8 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/__APP__
Environment="UVICORN_PORT=__PORT__"
Environment="VENV_DIR=__INSTALL_DIR__/venv/"
Environment="UVICORN_HOST=127.0.0.1"
ExecStart=__INSTALL_DIR__/venv/bin/uvicorn --reload flohmarkt:app
ExecStart=__INSTALL_DIR__/venv/bin/uvicorn --host 127.0.0.1 --port __PORT__ --reload flohmarkt:app
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit

View file

@ -92,8 +92,8 @@ ram.runtime = "50M"
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
# ynh_setup_source --dest_dir="$install_dir"
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
url = "https://codeberg.org/flohmarkt/flohmarkt/archive/eaa868cf5f6fa39f022781ac43ebecad43c0f7b8.tar.gz"
sha256 = "f01726f5ae98e68f379adb43dcffaa1aa7023164384d98a711e144189f61dbd6"
url = "https://codeberg.org/flohmarkt/flohmarkt/archive/43fdfc685f3f532840567da2f08b8f2d49a5b4e5.tar.gz"
sha256 = "6321ed8fcfaa5fd5007ccba9beab7802a9ad2da20cd41fbbfc78d63d22c2deea"
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
# to auto-update the previous asset urls and sha256sum + manifest version