mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
24 lines
436 B
YAML
24 lines
436 B
YAML
version: "3"
|
|
services:
|
|
backend:
|
|
restart: always
|
|
build: .
|
|
ports:
|
|
- 2017:2017
|
|
volumes:
|
|
- shared-data:/etc/v2ray
|
|
|
|
v2ray:
|
|
restart: always
|
|
image: "v2ray/official"
|
|
pid: service:backend
|
|
ports:
|
|
- 20170-20172:20170-20172
|
|
volumes:
|
|
- shared-data:/etc/v2ray
|
|
command: cp -r /usr/bin/v2ray/* /etc/v2ray/
|
|
entrypoint: v2ray -config=/etc/v2ray/config.json
|
|
|
|
volumes:
|
|
shared-data:
|