代码拉取完成,页面将自动刷新
version: "3.7"
services:
install:
image: registry.cn-hangzhou.aliyuncs.com/proxyers/proxyers:v1.0.1
command: /bin/sh /opt/bin/install.sh "${PROXYER_PUBLIC_HOST}:6789"
volumes:
- /mnt/data/proxyer:/opt/proxyer
restart: "no"
proxyer-server:
image: registry.cn-hangzhou.aliyuncs.com/proxyers/proxyers:v1.0.1
command: /opt/bin/pdns -bind="0.0.0.0:6789" -etcd="127.0.0.1:2379" -pip="${PROXYER_PUBLIC_HOST}"
network_mode: host
extra_hosts:
- "${PROXYER_PUBLIC_HOST}:127.0.0.1"
volumes:
- /mnt/data/proxyer:/opt/proxyer
depends_on:
- etcd
restart: on-failure
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
proxyer-turn:
image: registry.cn-hangzhou.aliyuncs.com/proxyers/proxyers:v1.0.1
command: /opt/bin/stp -sign="0.0.0.0:6544" -pip="${PROXYER_PUBLIC_HOST}" -etcd="127.0.0.1:2379" -pdns="127.0.0.1:6789"
network_mode: host
depends_on:
- etcd
restart: on-failure
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
etcd:
image: registry.cn-hangzhou.aliyuncs.com/proxyers/etcds:v3.0
command: /usr/local/bin/etcd --name proxyer-etcd --data-dir /etcd-data --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380 --initial-advertise-peer-urls http://0.0.0.0:2380 --initial-cluster proxyer-etcd=http://0.0.0.0:2380 --initial-cluster-token proxyer
ports:
- "2379:2379"
volumes:
- /mnt/data/proxyer/etcd:/etcd-data
restart: on-failure
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。