Skip to content

Commit 58921d2

Browse files
committed
fix: docker-compose.yml path
1 parent 0b25661 commit 58921d2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
image: iamtsm/tl-rtc-file-api
1212
container_name: api
1313
env_file:
14-
- tlrtcfile.env
14+
- ./tlrtcfile.env
1515
environment:
1616
- tl_rtc_file_env_mode=http
1717
- tl_rtc_file_db_open=true
@@ -25,15 +25,15 @@ services:
2525
- mysql
2626
- coturn
2727
volumes:
28-
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env
28+
- ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
2929

3030
#https模式启动api服务
3131
api-https:
3232
profiles: ['https']
3333
image: iamtsm/tl-rtc-file-api
3434
container_name: api
3535
env_file:
36-
- tlrtcfile.env
36+
- ./tlrtcfile.env
3737
environment:
3838
- tl_rtc_file_env_mode=https
3939
- tl_rtc_file_db_open=true
@@ -47,7 +47,7 @@ services:
4747
- mysql
4848
- coturn
4949
volumes:
50-
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env
50+
- ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
5151

5252
#http模式启动socket服务
5353
socket-http:
@@ -57,7 +57,7 @@ services:
5757
command:
5858
- tlsocket
5959
env_file:
60-
- tlrtcfile.env
60+
- ./tlrtcfile.env
6161
environment:
6262
- tl_rtc_file_env_mode=http
6363
- tl_rtc_file_db_open=true
@@ -69,7 +69,7 @@ services:
6969
- mysql
7070
- coturn
7171
volumes:
72-
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env
72+
- ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
7373

7474
#https模式启动socket服务
7575
socket-https:
@@ -79,7 +79,7 @@ services:
7979
command:
8080
- tlsocket
8181
env_file:
82-
- tlrtcfile.env
82+
- ./tlrtcfile.env
8383
environment:
8484
- tl_rtc_file_env_mode=https
8585
- tl_rtc_file_db_open=true
@@ -91,7 +91,7 @@ services:
9191
- mysql
9292
- coturn
9393
volumes:
94-
- tlrtcfile.env:/tlrtcfile/tlrtcfile.env
94+
- ./tlrtcfile.env:/tlrtcfile/tlrtcfile.env
9595

9696
#mysql服务
9797
mysql:

svr/conf/cfg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "10.4.0",
2+
"version": "10.4.2",
33
"socket": {
44
"port": "请到 tlrtcfile.env 中进行配置",
55
"host": "请到 tlrtcfile.env 中进行配置"

0 commit comments

Comments
 (0)