From a80adc996ff9459614b2d54952568fcd6709fe6a Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 25 Apr 2022 16:54:26 +0200 Subject: [PATCH] [WIP] Default config.yaml in case a configuration file is missing in the default locations --- MANIFEST.in | 1 + platypush/config/config.auto.yaml | 7 +++++++ platypush/config/config.default.yaml | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 platypush/config/config.auto.yaml create mode 100644 platypush/config/config.default.yaml diff --git a/MANIFEST.in b/MANIFEST.in index e61e3251c..9163c3d77 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ recursive-include platypush/backend/http/webapp/dist * include platypush/plugins/http/webpage/mercury-parser.js +include platypush/config/*.yaml global-include manifest.yaml diff --git a/platypush/config/config.auto.yaml b/platypush/config/config.auto.yaml new file mode 100644 index 000000000..466458baa --- /dev/null +++ b/platypush/config/config.auto.yaml @@ -0,0 +1,7 @@ +# Auto-generated configuration file. +# Do not edit manually - use the config.yaml file for manual modifications +# instead + +backend.http: + port: 8008 + websocket_port: 8009 diff --git a/platypush/config/config.default.yaml b/platypush/config/config.default.yaml new file mode 100644 index 000000000..1e36005fe --- /dev/null +++ b/platypush/config/config.default.yaml @@ -0,0 +1,2 @@ +include: + - config.auto.yaml