Open raverydavis opened 2 years ago
Does this work with XForwarding for you? Because I made a similar docker-compose setup with a different container and the bot container was not able to connect to my X server. I did not have a custom up/down though.
Yeah it works for me on Mac with XQuartz. You can start it up with command line using
xhost +$(hostname).local
export DISPLAY=:0
xhost should automatically open XQuartz if it's not open already
This will need to be more fleshed out but I had some time to write up a compose file that will spoof our IP when using a docker container. There are some services with free WireGuard credentials, ProtonVPN is a good one
Here's an example of
docker-compose.yml
You will need to mount the config volume (alternatively you can pass the config through env variables or use wg-quick to build the config)Create a folder called /config/ in script-template, then create your
wg0.conf
that contains your WireGuard credentials Here's an example of that fileThat should be all you need to have your IP spoofed in the bot docker container.