skoret / wireguard-telegram-bot

easy-peasy wg tg bot
https://t.me/wrgrdtgbot
54 stars 14 forks source link

Add Dockerfile to run bot with wireguard instance in one container #31

Open skoret opened 3 years ago

gameinside commented 2 years ago

need add in all configs PersistentKeepalive = 25

skoret commented 2 years ago

hi @gameinside πŸ‘‹πŸ» feel free to open new issue for it and make a PR with related contribution

gameinside commented 2 years ago

hi @gameinside πŸ‘‹πŸ» feel free to open new issue for it and make a PR with related contribution

it is not always possible to do this, it would be better if this configuration was created using bot telegrams

skoret commented 2 years ago

@gameinside as you can see the project is not under active development currently

wireguard quick start guide says that:

Setting it [PersistentKeepalive field] to 0 turns the feature off, which is the default, since most users will not need this, and it makes WireGuard slightly more chatty.

so, i suppose, PersistentKeepalive = 25 should not be a default option

if you badly need this, i see two ways for it:

SAOPP commented 2 years ago

For example, I don’t see any reason to combined wireguard and wgtb in one container, the really right decision would be to release wgtb in a docker container, and thus it will run near wireguard container - this is normal practice.