This commit is contained in:
2026-05-10 02:29:38 +03:00
parent efcf3c7905
commit 37b9a13d52
8 changed files with 1158 additions and 140 deletions
+6 -3
View File
@@ -1,6 +1,6 @@
version: '3.9'
# Node agent deployment (each VPN server)
# Node agent deployment for each VPN/proxy server.
# Usage: docker compose -f docker-compose.node.yml up -d
services:
@@ -11,15 +11,18 @@ services:
environment:
PORT: 3001
# URL of Core — must be reachable from this server
CORE_URL: http://your-core-server:3000
CORE_URL: https://core.example.com
# One-time registration code — generate in admin panel → Nodes
# Remove this line after the node registers successfully
REGISTRATION_CODE: your-one-time-code
REGISTRATION_CODE: paste-one-time-code-here
HEARTBEAT_INTERVAL_SEC: 30
volumes:
- node_data:/var/lib/vpnnode
ports:
- "3001:3001"
# Add protocol ports here, for example:
# - "443:443"
# - "443:443/udp"
cap_add:
- NET_ADMIN
healthcheck: