unjust / microradio_server

work for the streaming service and site
4 stars 0 forks source link

Switch Dockerfiles and update nginx config template #17

Closed unjust closed 4 years ago

unjust commented 4 years ago

Started as just removing the secrets from the radio_nginx.conf but then decided we needed debugging for the rtmp-nginx container.

This new Dockerfile configs rtmp-nginx with debugging, ffmpeg and the possibility of using env var substitution in Docker for our secrets https://hub.docker.com/r/alfg/nginx-rtmp/dockerfile

Had to make a newer radio_nginx.config file based on a config file that works with this nginx-rtmp. For some reason the old one choken on mime types declaration.

This branch:

  1. uses Dockerfile which includes nginx-rtmp debugging, env vars for secrets, and ffmeg
  2. updates radio_nginx.config to something that works with this new nginx-rtmp
  3. replaces secret keys with vars, right now we have to add manually before uploading, but can change to using secrets
  4. also remove image files in repo