2024-11-27 04:10:42 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../service.fish"
|
|
|
|
|
|
|
|
function installSW -V dir
|
|
|
|
set -l root (getServiceRoot $argv)
|
|
|
|
initializeServiceInstallation $argv
|
2024-12-06 12:51:08 +00:00
|
|
|
sudo cp -rf "$dir"/docker-compose{.base,.overrides}.yml "$root"
|
2024-11-27 04:10:42 +00:00
|
|
|
installDockerService $argv
|
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW -V dir
|
|
|
|
configureDockerService $argv
|
|
|
|
end
|
|
|
|
|
|
|
|
function getServiceServers
|
|
|
|
end
|
|
|
|
|
|
|
|
function getServiceLocations
|
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller --force $argv
|
|
|
|
end
|