Skip to content

Commit

Permalink
Merge branch 'master' of gozargah:Gozargah/Marzban-node
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintShit committed Apr 7, 2024
2 parents 6dbbdd1 + 6eb48cc commit 95abeef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
SERVICE_PORT = 62050


XRAY_API_PORT = 62051
# XRAY_EXECUTABLE_PATH = /usr/local/bin/xray
# XRAY_ASSETS_PATH = /usr/local/share/xray


SSL_CERT_FILE = /var/lib/marzban-node/ssl_cert.pem
SSL_KEY_FILE = /var/lib/marzban-node/ssl_key.pem
SSL_CLIENT_CERT_FILE = /var/lib/marzban-node/ssl_client_cert.pem

### can be rest or rpyc
# SERVICE_PROTOCOL = rpyc

### for developers
# DEBUG = false
7 changes: 1 addition & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ services:
image: gozargah/marzban-node:latest
restart: always
network_mode: host

environment:
SSL_CERT_FILE: "/var/lib/marzban-node/ssl_cert.pem"
SSL_KEY_FILE: "/var/lib/marzban-node/ssl_key.pem"
# SSL_CLIENT_CERT_FILE: "/var/lib/marzban-node/ssl_client_cert.pem"

env_file: .env
volumes:
- /var/lib/marzban-node:/var/lib/marzban-node

0 comments on commit 95abeef

Please sign in to comment.