Add node mode with SSH auto-install and Remnawave-style manual deploy.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Example node docker-compose (generated by panel as well)
|
||||
# Place linux amd64 binary next to this file as ./vpn-node
|
||||
#
|
||||
# chmod +x vpn-node
|
||||
# docker compose up -d
|
||||
|
||||
services:
|
||||
vpn-node:
|
||||
container_name: vpn-panel-node
|
||||
image: alpine:3.21
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
environment:
|
||||
NODE_NAME: "example-node"
|
||||
NODE_PORT: "2222"
|
||||
SECRET_KEY: "change-me"
|
||||
AGENT_VERSION: "0.1.0"
|
||||
volumes:
|
||||
- ./vpn-node:/usr/local/bin/vpn-node:ro
|
||||
- ./data:/var/lib/vpn-node
|
||||
command: ["/usr/local/bin/vpn-node"]
|
||||
Reference in New Issue
Block a user