diff --git a/docker/router-dash/app/main.py b/docker/router-dash/app/main.py new file mode 100644 index 0000000..c212c79 --- /dev/null +++ b/docker/router-dash/app/main.py @@ -0,0 +1,12 @@ +from flask import Flask +from page_dashboard import bp as dashboard_bp +from page_signup import bp as signup_bp +from page_signin import bp as signin_bp + +app = Flask(__name__) +app.register_blueprint(dashboard_bp) +app.register_blueprint(signup_bp) +app.register_blueprint(signin_bp) + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=25327) diff --git a/docker/router-dash/data/authorized_accounts.json b/docker/router-dash/data/authorized_accounts.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/docker/router-dash/data/authorized_accounts.json @@ -0,0 +1 @@ +{} diff --git a/docker/router-dash/data/dashboard_content.json b/docker/router-dash/data/dashboard_content.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/docker/router-dash/data/dashboard_content.json @@ -0,0 +1 @@ +{} diff --git a/README.md b/router/README.md similarity index 99% rename from README.md rename to router/README.md index 7428adf..cccf24a 100644 --- a/README.md +++ b/router/README.md @@ -89,7 +89,7 @@ These packages are required. `core.py --install` checks that they are installed The following services conflict with this suite. No manual action is required: `core.py` disables them automatically on `--apply`. `core.py` re-enables them on `--disable`. - **systemd-resolved** - DNS stub resolver that conflicts with `dnsmasq` on port 53. Disabled on `--apply`; re-enabled on `--disable`. -- **systemd-timesyncd** - Basic SNTP client that cannot serve time to LAN clients. Disabled on `--apply` and replaced by `chrony`; re-enabled on `--disable`. +- **systemd-timesyncd** - Basic SNTP client that cannot serve time to LAN clients; replaced by `chrony`. Disabled on `--apply`; re-enabled on `--disable`. - **ufw** - Firewall manager that conflicts with the `nftables` ruleset. Disabled on `--apply` without removal. --- diff --git a/core.json b/router/core.json similarity index 100% rename from core.json rename to router/core.json diff --git a/core.py b/router/core.py similarity index 100% rename from core.py rename to router/core.py diff --git a/ddns.json b/router/ddns.json similarity index 100% rename from ddns.json rename to router/ddns.json diff --git a/ddns.py b/router/ddns.py similarity index 100% rename from ddns.py rename to router/ddns.py diff --git a/vpn.py b/router/vpn.py similarity index 100% rename from vpn.py rename to router/vpn.py