diff --git a/README.md b/README.md index f688a76..0795c14 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,40 @@ Rust based hottub server the following URL: -[hottub.spacemoehre.de](hottub://source?url=hottub.spacemoehre.de) \ No newline at end of file +[hottub.spacemoehre.de](hottub://source?url=hottub.spacemoehre.de) + +## build it yourself + +Get, Build and Host the docker image: + +``` +git clone https://gitea.spacemoehre.de/simon/hottub +sudo docker build hottub +sudo docker compose up -d +``` + +Verify setup, replace the url with your setup url + +``` +curl -v http://127.0.0.1 +``` + +-> + +``` +* Trying 127.0.0.1:80... +* Connected to 127.0.0.1 (127.0.0.1) port 80 +> GET / HTTP/1.1 +> Host: 127.0.0.1:80 +> User-Agent: curl/8.5.0 +> Accept: */* +> +< HTTP/1.1 302 Found +< content-length: 0 +< location: hottub://source?url=127.0.0.1:80 +< date: Mon, 29 Sep 2025 14:58:15 GMT +< +* Connection #0 to host 127.0.0.1 left intact +``` + +make sure that you get a code 302 to a `hottub://` url \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index dbc805c..963b7ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,9 +18,9 @@ services: restart: unless-stopped working_dir: /app ports: - - 6901:6901 - - 8080:18080 - - 8081:8080 + - 80:18080 + - 6901:6901 # vnc port to access burpsuite + - 8081:8080 # burpsuite port of http proxy flaresolverr: container_name: flaresolverr