update
This commit is contained in:
parent
41fe8c2f3d
commit
a0b0762693
@ -10,7 +10,9 @@ services:
|
||||
volumes:
|
||||
# Your JSON config with "listen": "0.0.0.0" on the inbound
|
||||
- ./xray-config.json:/etc/xray/config.json:ro
|
||||
command: ["xray", "-config=/etc/xray/config.json"]
|
||||
# ENTRYPOINT of image is already "xray"
|
||||
# So this becomes: xray run -c /etc/xray/config.json
|
||||
command: ["run", "-c", "/etc/xray/config.json"]
|
||||
ports:
|
||||
- "10808:10808" # optional: expose to host for debugging
|
||||
restart: unless-stopped
|
||||
|
||||
Loading…
Reference in New Issue
Block a user