Skip to content

Commit 1b258d1

Browse files
committed
fix: nginx模板读取的是environment
1 parent a21292d commit 1b258d1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-nginx/docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ services:
2323
- "/home/docker/docker-nginx/conf/conf.d:/etc/nginx/templates"
2424
- "/home/docker/docker-nginx/html:/usr/share/nginx/html"
2525
- "/data/nginx/logs:/var/log/nginx"
26+
environment:
27+
- VIDEO_PORT_HTTPS_1=${VIDEO_PORT_HTTPS_1}
28+
- VIDEO_PORT_HTTPS_2=${VIDEO_PORT_HTTPS_2}
29+
- VIDEO_PORT_HTTPS_3=${VIDEO_PORT_HTTPS_3}
30+
- VIDEO_PORT_HTTPS_4=${VIDEO_PORT_HTTPS_4}
31+
- VIDEO_PORT_HTTPS_5=${VIDEO_PORT_HTTPS_5}
32+
- VIDEO_SSL_CERTIFICATE=${VIDEO_SSL_CERTIFICATE}
33+

0 commit comments

Comments
 (0)