Switch xray server from unix socket to TCP socket
This commit is contained in:
@@ -23,13 +23,11 @@ services:
|
||||
volumes:
|
||||
- ./config/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- tls-certs:/etc/nginx/ssl:ro
|
||||
- xray-socket:/dev/shm
|
||||
|
||||
xray-server:
|
||||
image: ghcr.io/xtls/xray-core:latest
|
||||
volumes:
|
||||
- ./config/server.json:/etc/xray/config.json:ro
|
||||
- xray-socket:/dev/shm
|
||||
command: run -c /etc/xray/config.json
|
||||
|
||||
xray-client:
|
||||
@@ -44,4 +42,3 @@ services:
|
||||
|
||||
volumes:
|
||||
tls-certs:
|
||||
xray-socket:
|
||||
|
||||
Reference in New Issue
Block a user