Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions netsoc-cloud/templates/foundry-config-tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,13 @@ func main() {

// Commands to execute after web server shutdown
exec.Command("systemctl", "disable", "config_tool.service").Run()

// must update feldy docker image
update_docker_image = exec.Command("docker-compose", "pull")
update_docker_image.Dir = "/root/foundry"
update_docker_image.Run()

// launch container
docker_cmd := exec.Command("docker-compose", "up", "--detach")
docker_cmd.Dir = "/root/foundry"
docker_cmd.Run()
Expand Down