0

I'm trying to deploy a ShinyProxy in a Docker container to Azure. Also, I have the ShinyApp repositories in Azure DevOps. Every time a developer updates the code in a repository, I want to the CD/CI deploy the new code creating a Docker container to Azure.

Also, I think, I have to create an internal Docker network between the ShinyProxy and the app.

How can I create this process? Is there any tutorial how to setup a pipeline in Azure DevOps and run a ShinyProxy on Azure?

1
  • Hi @Enrico, how are things going? Is my suggestion helpful to you? Please have a try with it, and any progress, feel free to tell me. Commented Jan 29, 2021 at 6:27

2 Answers 2

2

After a lot of research and study, I found how to create a full end-to-end deployment. I have created a complete step-by-step guide in my blog.

I hope it could help other guys.

Sign up to request clarification or add additional context in comments.

Comments

1

Do you want to deploy your app to Azure Container Registry?

If so, below are the main steps you need to do:

  1. Create a container registry on the Azure Portal.

  2. Create a Docker registry service connection on the project settings to enable your pipeline to push images into the container registry.

  3. Create the pipeline that gets source from your repository.

  4. Add the Docker task in the pipeline,

    • select the Docker registry service connection created in above step as the 'Container registry'.
    • select 'buildAndPush' as the 'command'.

To view more details, you can reference to "Build and push to Azure Container Registry".

2 Comments

Thank you for your reply. Yes, I'm using Azure Registry. My issue is related to ShinyProxy because I have to deploy the ShinyProxy and the app in 2 different container and then create a network between them. Generally speaking, ShinyProxy serves more than one ShinyApp.
Hi @Enrico, you can try to set up the container job (or service containers) in your pipeline. The containers you set on a job are networked together so that they can reach each other by their services name. To view more details, you can see "Define container jobs" and "Service containers".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.