Commit Graph

161 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece fefe0e6f43
Add line-by-line debug and docs for docker.sh. 2021-12-23 10:48:51 -06:00
Buster "Silver Eagle" Neece 31f0c3619a
Set bash mode to exit on first failure. 2021-12-22 11:21:48 -06:00
Buster "Silver Eagle" Neece fa00a3e234
Switch to more direct Docker Compose Switch install. 2021-12-22 11:18:00 -06:00
MarkWasley 4299683686
Fix typo in Docker utility script (#4885) 2021-12-16 00:15:58 -06:00
Buster "Silver Eagle" Neece 7e73940779
Fix cleanup path name. 2021-12-15 15:09:03 -06:00
Buster "Silver Eagle" Neece d9e0848e54
Fix URL again. 2021-12-15 15:01:44 -06:00
Buster "Silver Eagle" Neece da50c13c1e
Fix Compose download URL. 2021-12-15 14:59:49 -06:00
Buster "Silver Eagle" Neece 22c57cd57e
Swtich to new Docker Compose. 2021-12-15 14:48:08 -06:00
Buster "Silver Eagle" Neece a3e8c0648c
Revert "Switch to Docker Compose switch function."
This reverts commit d03b59e7c3.
2021-12-15 14:03:30 -06:00
Buster "Silver Eagle" Neece caa635646e
Revert "Update to switch to Docker-internal "docker compose"."
This reverts commit d5a47f869a.
2021-12-15 14:03:25 -06:00
Buster "Silver Eagle" Neece d03b59e7c3
Switch to Docker Compose switch function. 2021-12-15 13:51:11 -06:00
Buster "Silver Eagle" Neece d5a47f869a
Update to switch to Docker-internal "docker compose". 2021-12-15 13:35:05 -06:00
Buster "Silver Eagle" Neece 22ba770dd8
Fixes #4881 -- Add aarch64 to supported architectures on Docker. 2021-12-14 23:29:13 -06:00
Buster "Silver Eagle" Neece 4d9fa670bd
#4818 -- Switch to different method to avoid orphan warnings with installer. 2021-11-26 14:18:34 -06:00
Buster "Silver Eagle" Neece 08bdabfa9a
More Gitpod fixes. 2021-09-24 01:13:20 -05:00
Buster "Silver Eagle" Neece 75bcf6800f
#4585 -- Use more common "readlink" instead of "realpath". 2021-09-19 12:55:07 -05:00
Buster "Silver Eagle" Neece 87e8e25d5d
Minor tweak to previous commit. 2021-09-10 03:20:20 -05:00
Buster "Silver Eagle" Neece 18ef1ac656
Further Docker.sh visual improvements. 2021-09-10 03:18:37 -05:00
Buster "Silver Eagle" Neece 7ff8b51854
Visually improve requirements check. 2021-09-10 03:16:49 -05:00
Buster "Silver Eagle" Neece 9d73d823d5
Indent the "OKs" in status check. 2021-09-09 01:49:41 -05:00
Buster "Silver Eagle" Neece 27639a8943
Add requirements check step to Docker install. 2021-09-09 01:41:01 -05:00
Buster "Silver Eagle" Neece 0e94e1adc5
Fix dev install frontend build; add Makefile. 2021-08-22 18:25:19 -05:00
Buster "Silver Eagle" Neece 4e2cc9ca43
Suppress unnecessary "orphan" warning on installer run. 2021-08-21 11:53:27 -05:00
Buster "Silver Eagle" Neece 01658ff457
Move release determination earlier to ensure proper installer is used. 2021-08-15 13:20:17 -05:00
Buster "Silver Eagle" Neece 8d0dc45461
Make frontend container UID/GID aware. 2021-08-05 01:31:51 -05:00
Buster "Silver Eagle" Neece ec88ed7e2d
Interrupt dev install for customizing azuracast.env. 2021-07-25 23:40:15 -05:00
Buster "Silver Eagle" Neece 56b19f864c
#4407 -- Optimize space used by CLI backup/restore functions. 2021-07-24 23:49:13 -05:00
Buster "Silver Eagle" Neece fa78df3c14
Build frontend during dev install. 2021-07-22 18:35:47 -05:00
Buster "Silver Eagle" Neece 232cd81f23
Update docker.sh 2021-07-22 18:02:06 -05:00
Buster "Silver Eagle" Neece d0b9700e7f
Add new "install-dev" script to ./docker.sh. 2021-07-22 15:16:37 -05:00
Buster "Silver Eagle" Neece 26ed1df873
Add permission failsafe to updater too. 2021-07-11 03:16:16 -05:00
Buster "Silver Eagle" Neece a39fb4ecbf
#4388 -- Make installer more robust and create files before running installer. 2021-07-11 01:25:12 -05:00
Buster "Silver Eagle" Neece 0328f5e455
#4388 -- Check for Docker Compose updates on the initial install. 2021-07-10 06:48:01 -05:00
Buster "Silver Eagle" Neece 4451f33862
Remove debugging; add safety check. 2021-07-08 15:30:24 -05:00
Buster "Silver Eagle" Neece ef7989fcfd
Implement PHP Docker Installer (#4377) 2021-07-08 15:03:54 -05:00
Buster "Silver Eagle" Neece 8b113ace37
Fixes #4382 -- Use awk instead of gawk for more universal support. 2021-07-08 10:00:16 -05:00
Buster "Silver Eagle" Neece 2b70f6531b
Temporarily revert new port assignment system. 2021-06-28 21:58:53 -05:00
Buster "Silver Eagle" Neece e60430c339
Use yq to dynamically write ports to the Docker Compose config. 2021-06-28 04:28:41 -05:00
Mitch 95aea5fab3
Update docker.sh (#4109) 2021-05-01 22:15:17 -05:00
MarkWasley 648c348566
Update the Docker utility script for the new main branch. (#3806)
Updates the last remaining references to the "master" branch to the renamed "main" branch.
2021-02-11 22:30:11 -06:00
Buster "Silver Eagle" Neece 322cb6a395
Update the Docker utility script for the new main branch. 2021-02-10 20:58:28 -06:00
Buster "Silver Eagle" Neece 7c4e7b85b8
#3587 -- Ask about pruning post-install. 2020-12-21 14:20:10 -06:00
Buster "Silver Eagle" Neece e491e6efd7
Do a more thorough service restart when LetsEncrypt is first setup. 2020-12-20 15:50:45 -06:00
Buster "Silver Eagle" Neece 88c8547b9e
Modify location where .env is written to allow unattended stable install. 2020-11-29 02:45:44 -06:00
Buster "Silver Eagle" Neece e8cc4f3d4d
Only ask for release settings on install if .env file doesn't exist. 2020-11-29 02:27:09 -06:00
Buster "Silver Eagle" Neece bbbddf2968
Fix port error in new `./docker.sh db` command. 2020-11-13 00:20:48 -06:00
Buster "Silver Eagle" Neece 49d128a0b4
Add `./docker.sh db` helper to easily access database. 2020-11-13 00:20:02 -06:00
Buster "Silver Eagle" Neece 339ead54c8
#3256 -- Fix issue with preferring release on initial install. 2020-10-12 21:34:34 -05:00
Buster "Silver Eagle" Neece 2e6cfeeac9
#3269 -- Switch to docker system prune post-update for cleanup. 2020-10-12 17:20:51 -05:00
Buster "Silver Eagle" Neece a33a84d49b
#3031 -- Add an uptime wait to the restore command. 2020-10-10 02:18:48 -05:00
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