mirror of https://github.com/calzoneman/sync.git
update dockerfile
This commit is contained in:
parent
84a73eae2b
commit
dddcdc770a
24
Dockerfile
24
Dockerfile
|
@ -1,17 +1,26 @@
|
||||||
FROM alpine:3.6
|
FROM alpine
|
||||||
|
|
||||||
ADD . /app
|
ADD bin /app/bin
|
||||||
|
ADD gdrive-userscript /app/gdrive-userscript
|
||||||
|
ADD player /app/player
|
||||||
|
ADD src /app/src
|
||||||
|
ADD templates /app/templates
|
||||||
|
ADD www /app/www
|
||||||
|
ADD .eslintrc.js /app/.eslintrc.js
|
||||||
|
ADD index.js /app/index.js
|
||||||
|
ADD package.json /app/package.json
|
||||||
|
ADD package-lock.json /app/package-lock.json
|
||||||
|
ADD postinstall.sh /app/postinstall.sh
|
||||||
|
ADD servcmd.sh.js /app/servcmd.sh.js
|
||||||
|
ADD container-install.sh /app/container-install.sh
|
||||||
|
|
||||||
RUN cd app && sh container-install.sh
|
RUN cd app && sh container-install.sh
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
ENV MYSQL_HOST localhost
|
ENV MYSQL_HOST localhost
|
||||||
ENV MYSQL_PORT 3306
|
ENV MYSQL_PORT 3306
|
||||||
ENV MYSQL_DATABASE cytube
|
ENV MYSQL_DATABASE cytube
|
||||||
ENV MYSQL_USER cytube
|
ENV MYSQL_USER cytube
|
||||||
ENV MYSQL_PASSWORD nico_best_girl
|
ENV MYSQL_PASSWORD nico_best_girl
|
||||||
ENV MYSQL_ROOT_PASSWORD ruby_best_girl
|
|
||||||
ENV SYNC_TITLE Sync
|
ENV SYNC_TITLE Sync
|
||||||
ENV SYNC_DESCRIPTION Sync Video
|
ENV SYNC_DESCRIPTION Sync Video
|
||||||
ENV ROOT_URL http://localhost:8080
|
ENV ROOT_URL http://localhost:8080
|
||||||
|
@ -20,12 +29,13 @@ ENV IO_ROOT_URL http://localhost
|
||||||
ENV IO_ROOT_PORT 1337
|
ENV IO_ROOT_PORT 1337
|
||||||
ENV ROOT_DOMAIN localhost:8080
|
ENV ROOT_DOMAIN localhost:8080
|
||||||
ENV HTTPS_ENABLED false
|
ENV HTTPS_ENABLED false
|
||||||
ENV TRUST_ALL_PROXIES false
|
ENV COOKIE_SECRET aaa
|
||||||
|
ENV IMMEDIATE_PROXY 172.16.0.0/12
|
||||||
#ENV YOUTUBE_KEY
|
#ENV YOUTUBE_KEY
|
||||||
#ENV TWITCH_CLIENT_ID
|
#ENV TWITCH_CLIENT_ID
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
# EXPOSE 1337
|
EXPOSE 1337
|
||||||
# EXPOSE 8443
|
# EXPOSE 8443
|
||||||
|
|
||||||
ADD conf /app/conf
|
ADD conf /app/conf
|
||||||
|
|
Loading…
Reference in New Issue