UPDATE
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user