diff --git a/Makefile b/Makefile index 4912fa3..1dcd395 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ setup: check-deps @sudo chown -R $${SUDO_USER:-$$(id -un)}:$${SUDO_USER:-$$(id -un)} config/ data/ 2>/dev/null || true CELL_NAME=$(or $(CELL_NAME),mycell) \ CELL_DOMAIN=$(or $(CELL_DOMAIN),cell) \ - DOMAIN_MODE=$(or $(DOMAIN_MODE),pic_ngo) \ + DOMAIN_MODE=$(or $(DOMAIN_MODE),lan) \ CELL_DOMAIN_NAME=$(or $(CELL_DOMAIN_NAME),) \ CLOUDFLARE_API_TOKEN=$(or $(CLOUDFLARE_API_TOKEN),) \ DUCKDNS_TOKEN=$(or $(DUCKDNS_TOKEN),) \ diff --git a/scripts/setup_cell.py b/scripts/setup_cell.py index ab464e8..c7e0557 100644 --- a/scripts/setup_cell.py +++ b/scripts/setup_cell.py @@ -260,7 +260,7 @@ def ensure_session_secret(): DDNS_URL = os.environ.get('DDNS_URL', 'http://ddns.pic.ngo:8080/api/v1') DDNS_TOTP_SECRET = os.environ.get('DDNS_TOTP_SECRET', 'S6UMA464YIKM74QHXWL5WELDIO3HFZ6K') -DOMAIN_MODE = os.environ.get('DOMAIN_MODE', 'pic_ngo') +DOMAIN_MODE = os.environ.get('DOMAIN_MODE', 'lan') CELL_DOMAIN_NAME = os.environ.get('CELL_DOMAIN_NAME', '') CLOUDFLARE_TOKEN = os.environ.get('CLOUDFLARE_API_TOKEN', '') DUCKDNS_TOKEN = os.environ.get('DUCKDNS_TOKEN', '') @@ -413,9 +413,6 @@ def main(): ensure_session_secret() bootstrap_admin_password() - if domain_mode == 'pic_ngo': - register_with_ddns(cell_name) - print() print('--- Setup complete! Run: make start ---')