e11sync

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit fbae45a98e2ae7ea7db59acaa341e3baadb4ef25 (tree)
parent a27d0cdc96d37ef924a4d3b2ad149b2f871d2e06
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Sat, 13 Jan 2024 19:34:50 +0200

add E11SYNC_HTTP_PORT

Diffstat:
Mflake.nix | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/flake.nix b/flake.nix @@ -86,10 +86,11 @@ cp -r ${self}/app $out makeWrapper ${pkgs.python3Packages.gunicorn}/bin/gunicorn $out/bin/entrypoint \ --chdir $out/app \ + --set-default E11SYNC_HTTP_PORT ${toString gunicornPort} \ --set E11SYNC_DEBUG "" \ --set E11SYNC_COMPRESS_OFFLINE 1 \ --set GEOIP_PATH "${geoip}" \ - --add-flags --bind=127.0.0.1:${toString gunicornPort} \ + --add-flags --bind=127.0.0.1:\$E11SYNC_HTTP_PORT \ --add-flags e11sync.wsgi ''; passthru.tests = {