Skip to content

Commit

Permalink
ci: add docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawsh committed Mar 4, 2024
1 parent 12ee357 commit deb3541
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit deb3541

Please sign in to comment.