Skip to content

Portainer

Portainer is a powerful open-source container management tool that allows you to easily manage and deploy containers. Creating a new project in Portainer helps you organize and group containers, making it easier to manage them.

Creating a new portainer project

Follow the steps below to create a new project in Portainer:

  • Open a web browser and navigate to the Portainer web interface.
  • Login
  • Once logged in, you will be directed to the Portainer dashboard. Select the appropriate Environnement.
    • itwebcloudgateway: Cloud gateway machine that reverse proxies all web requests to appropriate docker project.
    • itwebcloudprod: Cloud production machine for all front-end production websites.
    • itwebclouddatabase: Cloud database machine used for web projects, currently mostly used for Strapi.
    • itvxwebdmz: Internal server for our backend services.
    • itvxwebstagingdmz: Internal server for all staging projects.
  • Navigate to the containers section.
  • Click the Add Container button.
  • In the Create container form, you will need to provide the following information, you can ignore sections not mentioned in the list below :
    • Name: Use the same name as the github repository and dockerhub repository.
    • Registry: Make sure to select the dockerhub_auth option to be able to access our private repositories in dockerhub
    • Image: Input beaulieucanada/projectname:(latest or staging depending on environnement) the end result should look like this beaulieucanada/projectname:latest
    • Network ports configuration: Click the publish a new network port button.
      • On the left side input the port you want to use to call your project, it should be different than every other installed projects.
      • On the right side input the port your projects uses inside the container
    • Advanced container settings:
      • Click on the Env tab and input any environnement variables your project needs to run
      • Click on the Restart policy make sure to set it to Unless stopped
    • Click the Deploy the container button
    • 🎉Congratulations you have deployed your project using docker! 🎉

Released under the MIT License.