-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added envsubst for environment variable substitution
- Loading branch information
1 parent
bb0de4c
commit db0e9a8
Showing
4 changed files
with
43 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,9 @@ LABEL MAINTAINER Fábio Assunção <[email protected]> | |
|
||
ENV FILESYSTEM 'local' | ||
ENV STORAGE_PATH '/opt/data' | ||
ENV HTTP_PORT 80 | ||
ENV HTTPS_PORT 443 | ||
ENV RTMP_PORT 1935 | ||
|
||
RUN apk add --update \ | ||
bash \ | ||
|
@@ -153,7 +156,7 @@ COPY --from=build-ffmpeg /usr/local /usr/local | |
COPY --from=build-ffmpeg /usr/lib/libfdk-aac.so.2 /usr/lib/libfdk-aac.so.2 | ||
|
||
ENV PATH "${PATH}:/usr/local/nginx/sbin" | ||
ADD nginx.conf /etc/nginx/nginx.conf | ||
ADD nginx.conf /etc/nginx/nginx.conf.template | ||
RUN mkdir -p /opt/data && mkdir /www | ||
ADD static /www/static | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters