diff --git a/docker-compose.yml b/docker-compose.yml index 74e7222..df81435 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -53,8 +53,8 @@ services: rtmp: build: ./rtmp hostname: rtmp - ports: - - "18080:18080" + #ports: + # - "18080:18080" volumes: - "./data/rtmp/hls:/tmp/hls" depends_on: diff --git a/frontend/Dockerfile b/frontend/Dockerfile index e9e5a6d..ae21e1e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -9,3 +9,4 @@ ADD https://github.com/bilibili/flv.js/releases/download/v1.5.0/flv.min.js /code RUN chmod 644 /code/static/flv.min.js USER nobody WORKDIR /code +EXPOSE 5001 diff --git a/rtmp/Dockerfile b/rtmp/Dockerfile index 954620b..b6e1bf9 100644 --- a/rtmp/Dockerfile +++ b/rtmp/Dockerfile @@ -61,7 +61,6 @@ COPY nginx.conf /etc/nginx/nginx.conf COPY mime.types /etc/nginx/mime.types # Copy fallback data -COPY index.html /www/ COPY network.m3u8 /www/ COPY network0.ts /www/ COPY network1.ts /www/ diff --git a/rtmp/index.html b/rtmp/index.html deleted file mode 100644 index a9843dc..0000000 --- a/rtmp/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - -
- - - -