fix doc
This commit is contained in:
@ -31,14 +31,14 @@ services:
|
|||||||
- /usr/share/icons:/usr/share/icons # Icons for UI, like Mouse cursor
|
- /usr/share/icons:/usr/share/icons # Icons for UI, like Mouse cursor
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix # X11 socket for GUI
|
- /tmp/.X11-unix:/tmp/.X11-unix # X11 socket for GUI
|
||||||
```
|
```
|
||||||
obviously change the XDG_OPEN_LISTENER_HOST to your host machines IP. \
|
obviously change the docker.host to your host machines IP. \
|
||||||
and run `podman-compose up -d` or if you wanna live dangerously then you may..: `docker compose up -d`
|
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 script, be sure to run it along with the container
|
Telegram cannot open links from the container to host machine, and to work around that is this script, be sure to run it along with the container
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
XDG_OPEN_LISTENER_PORT-6969
|
XDG_OPEN_LISTENER_PORT=6969
|
||||||
|
|
||||||
socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"
|
socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user