fix: docker-compose.yml path

This commit is contained in:
https://blog.iamtsm.cn
2023-08-16 14:38:31 +08:00
parent 0b25661c84
commit 58921d2212
2 changed files with 9 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ services:
image: iamtsm/tl-rtc-file-api image: iamtsm/tl-rtc-file-api
container_name: api container_name: api
env_file: env_file:
- tlrtcfile.env - ./tlrtcfile.env
environment: environment:
- tl_rtc_file_env_mode=http - tl_rtc_file_env_mode=http
- tl_rtc_file_db_open=true - tl_rtc_file_db_open=true
@@ -25,7 +25,7 @@ services:
- mysql - mysql
- coturn - coturn
volumes: volumes:
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env - ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
#https模式启动api服务 #https模式启动api服务
api-https: api-https:
@@ -33,7 +33,7 @@ services:
image: iamtsm/tl-rtc-file-api image: iamtsm/tl-rtc-file-api
container_name: api container_name: api
env_file: env_file:
- tlrtcfile.env - ./tlrtcfile.env
environment: environment:
- tl_rtc_file_env_mode=https - tl_rtc_file_env_mode=https
- tl_rtc_file_db_open=true - tl_rtc_file_db_open=true
@@ -47,7 +47,7 @@ services:
- mysql - mysql
- coturn - coturn
volumes: volumes:
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env - ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
#http模式启动socket服务 #http模式启动socket服务
socket-http: socket-http:
@@ -57,7 +57,7 @@ services:
command: command:
- tlsocket - tlsocket
env_file: env_file:
- tlrtcfile.env - ./tlrtcfile.env
environment: environment:
- tl_rtc_file_env_mode=http - tl_rtc_file_env_mode=http
- tl_rtc_file_db_open=true - tl_rtc_file_db_open=true
@@ -69,7 +69,7 @@ services:
- mysql - mysql
- coturn - coturn
volumes: volumes:
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env - ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
#https模式启动socket服务 #https模式启动socket服务
socket-https: socket-https:
@@ -79,7 +79,7 @@ services:
command: command:
- tlsocket - tlsocket
env_file: env_file:
- tlrtcfile.env - ./tlrtcfile.env
environment: environment:
- tl_rtc_file_env_mode=https - tl_rtc_file_env_mode=https
- tl_rtc_file_db_open=true - tl_rtc_file_db_open=true
@@ -91,7 +91,7 @@ services:
- mysql - mysql
- coturn - coturn
volumes: volumes:
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env - ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
#mysql服务 #mysql服务
mysql: mysql:

View File

@@ -1,5 +1,5 @@
{ {
"version": "10.4.0", "version": "10.4.2",
"socket": { "socket": {
"port": "请到 tlrtcfile.env 中进行配置", "port": "请到 tlrtcfile.env 中进行配置",
"host": "请到 tlrtcfile.env 中进行配置" "host": "请到 tlrtcfile.env 中进行配置"