UniversityRadioYork / MyRadio

University Radio York's back-end radio management system
https://ury.org.uk/myradio
16 stars 16 forks source link

Docker-friendly configuration #1085

Open markspolakovs opened 2 years ago

markspolakovs commented 2 years ago

When running in Docker, allow configuring MyRadio using environment variables, rather than mounting in a MyRadio_Config.local.php. String values are set verbatim, others are parsed as JSON.

Also, splits out a separate development Dockerfile (main difference is that the production Dockerfile doesn't include xdebug or a self-signed certificate), and properly configures the daemon to run in docker-compose.