1 Star 0 Fork 24

youaregoo/proxyer

forked from khvysofq/proxyer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yaml 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
khvysofq 提交于 2020-03-06 09:46 . update docker-compose.yaml.
version: "3.7"
services:
install:
image: registry.cn-hangzhou.aliyuncs.com/proxyer/proxyer/proxyer: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/proxyer/proxyer/proxyer: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/proxyer/proxyer/proxyer: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/proxyer/proxyer/etcd: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-data
restart: on-failure
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/youaregoo/proxyer.git
git@gitee.com:youaregoo/proxyer.git
youaregoo
proxyer
proxyer
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385