Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
meshray:
|
||||
image: meshray:latest
|
||||
container_name: meshray
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9531:9531"
|
||||
volumes:
|
||||
# 挂载配置文件(可修改STUN/TURN配置)
|
||||
- ./config.yaml:/app/config.yaml
|
||||
# 持久化数据
|
||||
- ./data:/app/data
|
||||
# 持久化日志
|
||||
- ./logs:/app/logs
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
# 网络模式使用host以获得更好的网络性能
|
||||
# network_mode: host
|
||||
# 如果使用host模式,需要注释掉ports配置
|
||||
Reference in New Issue
Block a user