Commit Graph

161 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece f50c3dde7a
Fix casing on "REPLY' in docker.sh script. 2020-10-08 00:21:17 -05:00
Buster "Silver Eagle" Neece 2b0b6f808b
Fix recent changes in docker.sh script to use proper env variable. 2020-10-08 00:07:10 -05:00
Buster "Silver Eagle" Neece a6891ade12
Fix missing env fetch command in docker.sh 2020-10-08 00:04:05 -05:00
Buster "Silver Eagle" Neece 75730b7058
Use proper docker-compose for new stable installs. 2020-10-07 23:48:40 -05:00
Buster "Silver Eagle" Neece 41a181ce12
Pull sample from stable branch instead. 2020-10-07 23:40:47 -05:00
Buster "Silver Eagle" Neece f0e7f691f3
Pull a stable Docker Compose file for stable builds. 2020-10-07 23:38:44 -05:00
Buster "Silver Eagle" Neece a6ec36b21c
Analytics Overhaul and InfluxDB Removal (#3243)
- Make the Analytics table in the database the primary one for handling statistics for all stations, removing the InfluxDB dependency entirely
 - Expand the Analytics table to also track unique listeners per hour and day
 - Properly clean up the Listeners table according to each installation's history retention settings
 - Implement a cute new animated "waiting for services" startup message that avoids previous wait messages that looked more like errors
2020-10-07 18:50:30 -05:00
Buster "Silver Eagle" Neece 2edcde5aeb
Persist Composer vendor directory to make plugins work again. 2020-09-28 18:04:49 -05:00
Buster "Silver Eagle" Neece d96759bc70
Bash script updates; revert run to avoid worker running on top of install. 2020-09-24 14:15:26 -05:00
Buster "Silver Eagle" Neece f058e3bdd8
#3127 -- Switch back to "run --rm" to resolve dep issues. 2020-08-28 15:45:00 -05:00
Buster "Silver Eagle" Neece 821955df0f
Work around a bug where `run --rm` doesn't spin up related dependencies. 2020-08-25 14:44:06 -05:00
Buster "Silver Eagle" Neece 1447c7c877
#2756 -- Add "please back up before updating" prompt during update. 2020-06-23 05:39:11 -05:00
Buster "Silver Eagle" Neece 854dd513c4
#2912 -- Don't remove web volume in latest update. 2020-06-01 05:03:04 -05:00
Buster "Silver Eagle" Neece 954b4d7b6f
Make the Docker Utility Script check for updates to itself. 2020-05-22 20:28:52 -05:00
Buster "Silver Eagle" Neece 1c25a8301d
Automatically migrate from old "prefer release" setting to new one. 2020-05-21 20:53:34 -05:00
Buster "Silver Eagle" Neece 90fbf58f85
Update how AzuraCast handles "release mode".
All core AzuraCast Docker images are now tagged with "latest" for rolling-release updates and "stable" for the latest stable version. Switching to release builds switches the images used for all AzuraCast components, yielding a much more stable interaction between components. As new releases are made, the "stable" versions of each image are updated in unison with each other.
2020-05-21 20:27:26 -05:00
Buster "Silver Eagle" Neece bb91030d3b
Add helper function to simplify .env file var setting. 2020-05-19 02:19:30 -05:00
Buster "Silver Eagle" Neece 3bfb8fb582
Minor Docker Utility Script fixes. 2020-05-19 00:17:26 -05:00
Buster "Silver Eagle" Neece 0070dde26c
Merge Docker Multi-site Setup into Core Setup
This commit merges the previous Docker Multi-site configuration into the core Docker Compose configuration for all installations.
2020-05-19 00:01:13 -05:00
Buster "Silver Eagle" Neece 3a37baf401
Generate a unique MariaDB password for new Docker installs.
(Developer note: This isn't intended to fix an existing security vulnerability, just an abundance of caution measure in the event someone accidentally exposes their MariaDB container to the web, which it isn't by default.)
2020-05-10 02:17:08 -05:00
Buster "Silver Eagle" Neece 25db73cc04
#2475 -- Flush Redis AOF file during updates to avoid errors. 2020-04-11 15:00:25 -05:00
Buster "Silver Eagle" Neece 60692ec458
Fix shell quoting issues with docker.sh utility script. 2020-04-02 16:07:10 -05:00
Buster "Silver Eagle" Neece c007affead
Clean up docker.sh install checks to improve compatibility. 2020-01-25 18:11:31 -06:00
Buster "Silver Eagle" Neece 485c4ec4b3
Update static commands on utility script. 2020-01-12 13:02:43 -06:00
Buster "Silver Eagle" Neece 083eddce2d
#2065 -- Switch to uniform container name for web container. 2019-10-16 03:10:07 -05:00
Buster "Silver Eagle" Neece cdccaecbf5
Avoid loading Doctrine during CLI (allowing cache clear). 2019-09-29 16:26:46 -05:00
Buster "Silver Eagle" Neece 45dd563891
Clear Redis during update to flush metadata. 2019-09-29 16:14:20 -05:00
Buster Neece f72f0edb94
Add a Docker Compose pull to the restore process to ensure up-to-dateness. 2019-08-28 12:25:54 -05:00
Buster Neece 6f764c5b5e
Allow passing parameters to the install/update scripts using docker.sh 2019-08-19 01:50:30 -05:00
Buster Neece bbbf481a05
Reduce Docker update downtime and don't leave services off waiting for prompt. 2019-07-21 12:45:36 -05:00
Buster Neece 910741e87f
Update all cURL commands to fail with errors. 2019-07-14 11:18:15 -05:00
Buster Neece b73c5ba030
Closes #1719 -- Update the docker CLI backup/restore to address permission/Windows issues. 2019-07-03 18:06:25 -05:00
Buster Neece e24cfd614e
Add exits to various commands for a little safety. 2019-06-25 21:41:09 -05:00
Buster Neece 301b918e53
Don't require sudo on install if you're root. 2019-06-25 21:35:39 -05:00
Buster Neece 660ef0d44b
Add sudo check to docker utility script. 2019-06-25 21:03:11 -05:00
Buster Neece f9a87b0651
Update docker migrator to fix issues and ensure consistency. 2019-05-27 16:33:11 -05:00
Buster Neece 145475bd75
Use the (often much faster) zip format by default for backups. 2019-05-24 09:58:33 -05:00
Buster "Silver Eagle" Neece 16fc2c54bc
Implement zero-downtime backups + nightly backups (#1574)
* Create new backup and restore commands allowing live backups.
* Switch migrate script to use new backup method.
* Avoid loading fixtures, ensure directories exist when restarting stations.
* Include album art in media backup.
* First portion of automated backup management code.
* Further backup page work; add download/delete functionality.
* Implement automatic backups and "manual run" page.
* Switch automatic backup filename to match text.
* Add new locales.
* Add restore instructions and ability to view latest backup log.
2019-05-23 10:29:22 -05:00
Buster Neece 9732a34c87 Fix logic on docker.sh git/curl checks. 2019-03-06 10:01:32 -06:00
Buster Neece 920e11caa8 #1101 -- Check for working Docker Compose, Git and cURL in docker.sh 2019-03-04 13:02:23 -06:00
Buster "Silver Eagle" Neece 798d020800 Simplify testing into a single "composer test" command. 2019-01-31 15:58:20 -06:00
Buster "Silver Eagle" Neece 7fa44db264 More minor code fixes, add linting to CI and docker.sh script. 2019-01-31 14:29:45 -06:00
Buster "Silver Eagle" Neece 8a6701403a Code and PHPDoc cleanup to green-light level 2 static analysis. 2019-01-31 11:54:17 -06:00
Buster "Silver Eagle" Neece 91c334ffff Create PHPStan bootstrap file, integrate into Travis CI. 2019-01-30 21:36:07 -06:00
Buster "Silver Eagle" Neece ae08cd3a1f Bring back containerized static asset builds, but better! 2019-01-29 15:23:38 -06:00
Buster "Silver Eagle" Neece 401890cbf9 Fix docker.sh references to old image names. 2019-01-17 07:10:25 -06:00
Buster "Silver Eagle" Neece 601f488726 Fix LE connect and renewal functions and path of SSL certs in stations container. 2019-01-14 10:14:24 -06:00
Buster "Silver Eagle" Neece 6fc1e1e8ea Move to a unified Web container. 2019-01-14 05:36:17 -06:00
Buster "Silver Eagle" Neece 1de0d56432 #1009 -- Suppress errors (that aren't actual errors) on `docker rmi`. 2018-12-01 10:50:23 -06:00
Buster "Silver Eagle" Neece f926ca8b51 #968 -- Modify documentation regarding port mapping 2018-11-19 10:26:22 -06:00
Buster "Silver Eagle" Neece b33fba37ec Remove the www and tmp volumes during updates. 2018-11-09 12:25:37 -06:00
CodeSteele ba0bea3c5f Don't read replies directly from tty in case we try to actually use stdin (#918)
Using tty instead of stdin makes it impossible to run `yes | ./docker.sh update`.
2018-11-02 02:22:03 -05:00
Buster "Silver Eagle" Neece 46e3d5a983 #878 -- Automatically create the azuracast.env file if it doesn't exist. 2018-10-20 22:35:28 -05:00
Buster "Silver Eagle" Neece 5ee858f615 Update the Docker Compose file to use an external .env file for settings. 2018-10-18 23:27:30 -05:00
Buster "Silver Eagle" Neece 46b4bfe87c Clarify instructions on LetsEncrypt script. 2018-05-07 22:58:20 -05:00
Buster "Silver Eagle" Neece 9ac4e622c1 Add CLI directions 2018-05-07 09:40:45 -05:00
Buster "Silver Eagle" Neece 7d62fc2d2c Fix domain linking issue on new utility script 2018-05-07 01:53:43 -05:00
Buster "Silver Eagle" Neece 82219961f5 Closes #582 -- Add LetsEncrypt scripts to Docker utility script. 2018-05-07 01:17:03 -05:00
Buster "Silver Eagle" Neece de80e76f05 Add instructions to remove all Docker containers if desired. 2018-04-26 19:23:28 -05:00
Buster "Silver Eagle" Neece 0caa413c79 Update Docker utility script, make uninstaller more specific to AzuraCast. 2018-04-26 19:21:33 -05:00
Buster "Silver Eagle" Neece cd004383fa Update Docker utility scripts and readmes. 2018-04-23 22:37:15 -05:00