diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..28a3079 --- /dev/null +++ b/compose.yml @@ -0,0 +1,16 @@ +services: + marznode: + image: dawsh/marznode:latest + restart: always + network_mode: host + + environment: + XRAY_EXECUTABLE_PATH: "/usr/local/bin/xray" + XRAY_ASSETS_PATH: "/usr/local/lib/xray" + XRAY_CONFIG_PATH: "/var/lib/marznode/xray_config.json" + SSL_CLIENT_CERT_FILE: "/var/lib/marznode/client.pem" + SSL_KEY_FILE: "./server.key" + SSL_CERT_FILE: "./server.cert" + + volumes: + - /var/lib/marznode:/var/lib/marznode