Update docker-compose.yml
Deploy ru-vps / deploy (push) Failing after 30s

This commit is contained in:
Dmitry
2026-06-07 09:12:40 +03:00
parent fe2fe590e4
commit 7b1c637a76
+1 -16
View File
@@ -1,13 +1,4 @@
services: services:
v2ray:
image: v2fly/v2fly-core:latest
container_name: v2ray-core
restart: unless-stopped
network_mode: "service:v2raya"
volumes:
- /opt/data/v2raya-extra:/etc/v2ray
command: run -c /etc/v2ray/config.json
v2raya: v2raya:
image: mzz2017/v2raya:latest image: mzz2017/v2raya:latest
container_name: v2raya container_name: v2raya
@@ -16,10 +7,4 @@ services:
privileged: true privileged: true
volumes: volumes:
- /opt/data/v2raya:/etc/v2raya - /opt/data/v2raya:/etc/v2raya
- /opt/data/v2raya-extra:/etc/v2raya-extra # Убрал лишние переменные - v2raya сам скачает и установит V2Ray/Xray
environment:
- V2RAYA_LOG_FILE=/tmp/v2raya.log
- V2RAYA_V2RAY_BIN_PATH=/usr/local/bin/v2ray
- V2RAYA_V2RAY_CONFDIR=/etc/v2raya-extra
depends_on:
- v2ray