added support to open links
This commit is contained in:
@ -17,6 +17,8 @@ services:
|
||||
image: git.shihaam.dev/dockerfiles/64gram
|
||||
environment:
|
||||
- DISPLAY # For GUI access
|
||||
- XDG_OPEN_LISTENER_PORT=6969 # Set this to port number of socat server
|
||||
- XDG_OPEN_LISTENER_HOST=192.168.x.x # set this to your host machine IP
|
||||
devices:
|
||||
- /dev/snd:/dev/snd # Mic and Speaker support
|
||||
- /dev/video0:/dev/video0 # Webcam support
|
||||
@ -30,4 +32,7 @@ services:
|
||||
```
|
||||
and run `podman-compose up -d` or if you wanna live dangerously then you may..: `docker compose up -d`
|
||||
|
||||
Telegram cannot open links from the container to host machine, and to work around that is this command
|
||||
`socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"`
|
||||
|
||||
k, thanks, bye
|
||||
|
Reference in New Issue
Block a user