Skip to content

Comments

Docker support#4

Open
0x78f1935 wants to merge 18 commits intoodell0111:mainfrom
0x78f1935:main
Open

Docker support#4
0x78f1935 wants to merge 18 commits intoodell0111:mainfrom
0x78f1935:main

Conversation

@0x78f1935
Copy link

@0x78f1935 0x78f1935 commented Apr 21, 2025

Hi, thank you for your work.

I'm not sure if your project is going to be a working solution for me, but I have hope.

To make it usable in my situation, I need to run it as a micro service. So I thought, why not share?

Included in this PR:

  • Dockerfile
  • docker-compose file

Which allows you to run the following command to start the server:

docker compose up --build -d

Default port is 127.0.0.1:8088

I had to apply some fixes in order to make the docker build work, such as:

  • Changed relative imports to absolute imports

In addition, docker requires to be ran in headless mode. I've added some args to the browser which removes some automated digital fingerprints.

Copy link
Owner

@odell0111 odell0111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @0x78f1935 (such a RAMdom username 😅😂), thanks for the contribution! 🙌 This is actually my first-ever pull request. Please review the highlighted sections

@0x78f1935 0x78f1935 marked this pull request as draft April 22, 2025 13:32
@0x78f1935 0x78f1935 marked this pull request as ready for review April 22, 2025 14:19
@0x78f1935 0x78f1935 requested a review from odell0111 April 22, 2025 14:19
@0x78f1935
Copy link
Author

Not sure if it works with xvfb but it has been added, going to test it now.

@0x78f1935
Copy link
Author

Not sure if it works with xvfb but it has been added, going to test it now.

Unfortunately, it also doesn't seem to work with xvfb

[15:08:03] INFO     Attempt: 1/3                                                                                                                                                                        
           WARNING  'fail' event received                                                                                                                                                               
           INFO     Attempt: 2/3                                                                                                                                                                        
           WARNING  'fail' event received                                                                                                                                                               
           INFO     Attempt: 3/3                                                                                                                                                                        
[15:08:04] WARNING  'fail' event received                                                                                                                                                               
           ERROR    Captcha failed to solve in 3 attempts :(                                                                                                                                            
           ERROR    Captcha failed to solve in 3 attempts :(  

Maybe that is me, because there are a lot of factors which might be the issue on my side. I need to do more research

@0x78f1935 0x78f1935 marked this pull request as draft April 23, 2025 15:50
@0x78f1935 0x78f1935 marked this pull request as ready for review April 23, 2025 18:15
@0x78f1935
Copy link
Author

No luck, you can connect with VNC client to the server running in docker. Its not running headless, yet it still is unable to resolve. The moment I click the checkbox through the VNC client, it resolves.

@szsyzx
Copy link

szsyzx commented May 3, 2025

No luck, you can connect with VNC client to the server running in docker. Its not running headless, yet it still is unable to resolve. The moment I click the checkbox through the VNC client, it resolves.
Is your problem solved?

@odell0111
Copy link
Owner

odell0111 commented May 3, 2025

@0x78f1935 thank you so much for your contributions, and apologies for the late response. Despite facing several challenges with connectivity, I've managed to upload a pre-release, taking references from your contributions. However, I haven't been able to build the Docker image. Could you please:

  • Review the latest changes
  • Attempt to build the Docker image locally
  • Let me know if you encounter any issues?

In theory everything should work. If problems arise during testing, feel free to open a new issue describing the behavior, thanks in advance.

v3.15b
v3.16b

@0x78f1935
Copy link
Author

0x78f1935 commented May 22, 2025

I have to revisit this topic once I got some time on my hands (which I don't have at this moment). This is probably not the last time you hear from me, but I appreciate the work you have put into it. I didn't want to leave you hanging but at this moment I unfortunately don't have an environment setup where I can test this situation in a quickly manor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants