Browse Source

commit firmado con últimos cambios

Signed-off-by: jorge_sD <jorge@sindominio.net>
main
jorge 7 months ago
parent
commit
d8b3c0a08c
No known key found for this signature in database
GPG Key ID: C20E2ED33727336
  1. 15
      Dockerfile
  2. 8
      docker-compose.yml

15
Dockerfile

@ -1,25 +1,26 @@
FROM registry.sindominio.net/debian
FROM registry.sindominio.net/nginx
RUN apt-get update && apt-get install -y nginx libnginx-mod-rtmp && apt get clean
RUN apt-get update && apt-get install -y libnginx-mod-rtmp && apt-get clean
RUN rm -rf /var/www/html/*
# config nginx with rtmp app points
WORKDIR /tmp/
COPY nginx.conf /tmp/
COPY nginx-rtmp.conf /tmp/
RUN cat /tmp/nginx-rtmp.conf >> /etc/nginx/nginx.conf
RUN mkdir -P /var/www/html/hls && \
RUN mkdir -p /var/www/html/hls && \
chmod 777 /var/www/html/hls
# poner el index.html css y js
COPY index.html /var/www/html/
RUN mkdir -P /var/www/assets/
COPY assets/styles-mirar.css /var/www/html/assets/
RUN mkdir -p /var/www/assets/
COPY assets/styles-sintoniza.css /var/www/html/assets/
COPY assets/video-js-7.10.2.min.css /var/www/html/assets/video-js.min.css
COPY assets/video-js-7.10.2.min.js /var/www/html/assets/video-js.min.js
COPY assets/jquery-3.5.1.slim.min.js /var/www/html/assets/jquery-slim.min.js
# copiar la configuración por defecto de nginx con nuestros cambios incluidos
COPY nginx-site-default.conf /etc/nginx/sites-available/default
COPY nginx-site-default.conf /etc/nginx/sites-available/default

8
docker-compose.yml

@ -0,0 +1,8 @@
sintoniza:
container_name: sintoniza
hostname: sintoniza
restart: always
image: registry.sindominio.net/sintoniza
user: 111:65534
ports:
- "0.0.0.0:8080:8080"
Loading…
Cancel
Save