From a1fda52260768469bb794c7ba27fec18b2490526 Mon Sep 17 00:00:00 2001 From: Aron Date: Mon, 15 Dec 2025 15:30:41 +0100 Subject: [PATCH] upd compose --- README.md | 24 +++++++++++++++--------- docker-compose.yml | 14 +++++++++++--- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ac0de02..5c13578 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# inberlin-monitor +# wohn-bot A Python bot that monitors Berlin's public housing portal (inberlinwohnen.de) and WG rooms (wgcompany.de). Sends Telegram notifications when new listings appear and can automatically apply to some listings. @@ -12,17 +12,23 @@ A Python bot that monitors Berlin's public housing portal (inberlinwohnen.de) an ## Auto-Apply Support -The auto-apply feature is experimental and only works for some housing companies: +All six housing companies monitored by this bot now support the autopilot (automatic application) feature. Use autopilot with care — automatic form submission is destructive and may send many requests if configured incorrectly. | Company | Status | Notes | |---------|--------|-------| -| HOWOGE | Working | Tested and functional | -| Degewo | Experimental | Uses Wohnungshelden portal | -| Stadt und Land | Experimental | Uses Wohnungshelden portal | -| Gewobag | Not working | Needs implementation | -| Gesobau | Not working | Needs implementation | -| WBM | Not working | Needs implementation | -| WGcompany | Not supported | Monitoring only, no auto-apply | +| HOWOGE | Working | Fully automated and tested | +| Degewo | Working | Uses Wohnungshelden portal; automated | +| Stadt und Land | Working | Embedded form handled automatically | +| Gewobag | Working | Wohnungshelden iframe handled automatically | +| Gesobau | Working | Automated form submission implemented | +| WBM | Working | Automated form submission implemented | +| WGcompany | Monitoring only | WGcompany monitoring only (no autopilot) | + +Recommended precautions: + +- Run with `/autopilot off` while testing new selectors or after changing config. +- Inspect `data/applications.json` and saved screenshots in `data/` after enabling autopilot. +- Respect site terms of use and rate limits; set `CHECK_INTERVAL` appropriately. ## Setup diff --git a/docker-compose.yml b/docker-compose.yml index 405e11d..2db5159 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,17 @@ services: - inberlin-monitor: + wohnbot: build: . - container_name: inberlin-monitor + container_name: wohnbot restart: unless-stopped env_file: - .env volumes: - - ./data:/data + - /srv/dev-disk-by-uuid-a920d9c0-dfc1-4a58-ae4d-92cf88ff04a5/docker-app/wohnbot/data:/data:rw + networks: + proxy-network: + aliases: + - wohnbot + +networks: + proxy-network: + external: true