Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. I want to create a cloudron app using docker image

I want to create a cloudron app using docker image

Scheduled Pinned Locked Moved App Packaging & Development
3 Posts 3 Posters 728 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      S Offline
      senthilkumaran
      wrote on last edited by
      #1

      Hello, I am interesting running Teamcity Server in my cloudron instance.

      The way to run the server using docker is given as

      docker run --name teamcity-server-instance \
      -v <path to data directory>:/data/teamcity_server/datadir \
      -v <path to logs directory>:/opt/teamcity/logs \
      -p <port on host>:8111 \
      jetbrains/teamcity-server
      

      How can I convert this into a "Cloudron" app? Can some point me the right direction or to a document / tutorial?
      I have read how to the build cloudron app and looked the examples too, but I seem to missing

      a) How to publish the app from a docker image directly?
      b) Configure the volumes and the port as given here.

      Thanks in advance.

      Senthil

      --
      Senthil

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @senthilkumaran https://docs.cloudron.io/packaging/tutorial/ is a good place to start. Otherwise, we have a forum section to help out with packaging related queries. Feel free to ask for help.

        a) How to publish the app from a docker image directly?

        This is not possible. You have to make a package specifically for Cloudron. There are a number of runtime restrictions in Cloudron and the Docker image has to be adapted accordingly.

        b) Configure the volumes and the port as given here.

        This is all possible. Please let us know if the tutorial clarifies questions.

        1 Reply Last reply
        2
        • girishG girish moved this topic from Support on
        • timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by timconsidine
          #3

          @senthilkumaran I also suggest you check out the sample apps which Cloudron made and are available for testing proof of concept and as a base for your own package(s).

          Also look on git.cloudron.io : there are many custom apps there from users (not Cloudron staff). Those can give you a good idea of how people approach the task of packaging, and i particular the task of separating read only /app/code and read write /app/data.

          1 Reply Last reply
          3
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search