fix: restart-safe entrypoints, remove obsolete compose version
Some checks failed
Build and Push Docker Images / Сборка сервера (multi-arch) (push) Has been cancelled
Build and Push Docker Images / Сборка клиента (multi-arch) (push) Has been cancelled

- Add wg0 interface cleanup before startup (prevents 'already exists' crash)
- Always regenerate wg0.conf to pick up key changes
- Remove obsolete 'version' from docker-compose files
- Fix read-only /proc/sys writes (host-level ip_forward already set)
This commit is contained in:
Deploy Bot
2026-07-30 00:30:18 +01:00
parent 5d618a04b5
commit dcebf21e03
4 changed files with 22 additions and 7 deletions

View File

@@ -2,7 +2,6 @@
# docker-compose.server.yml — VPS (сервер с публичным IP)
# Запуск: docker compose -f docker-compose.server.yml up -d
# =============================================================================
version: "3.8"
services:
wireguard-server: