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 Wishlist
  3. Galacteek on Cloudron

Galacteek on Cloudron

Scheduled Pinned Locked Moved App Wishlist
galacteekipfs
47 Posts 7 Posters 5.6k Views 8 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.
  • C cipres

    New shapshots and docker image. Now when you search for things on the dweb it's automatically cached as RDF so it's way faster to lookup things later on even being offline.

    There's also a bash script now to run the latest AppImage snapshot automatically:

    curl -L https://galacteek.gitlab.io/galacteek-snapshot-install.sh | bash
    
    L Offline
    L Offline
    LoudLemur
    wrote on last edited by
    #13

    @cipres Thank you!

    I hope that Galacteek can be packaged for Cloudron. You have kindly created a fresh Docker. Perhaps somebody will now volunteer to package it.

    C 1 Reply Last reply
    0
    • L LoudLemur

      @cipres Thank you!

      I hope that Galacteek can be packaged for Cloudron. You have kindly created a fresh Docker. Perhaps somebody will now volunteer to package it.

      C Offline
      C Offline
      cipres
      wrote on last edited by
      #14

      @LoudLemur Managed to get the Docker image down to ~820Mb, based on python:3.7-slim. It can be reduced even more but not that much, i'm surprised by the space the xorg packages take on a debian ...

      L 1 Reply Last reply
      2
      • C cipres

        @LoudLemur Managed to get the Docker image down to ~820Mb, based on python:3.7-slim. It can be reduced even more but not that much, i'm surprised by the space the xorg packages take on a debian ...

        L Offline
        L Offline
        LoudLemur
        wrote on last edited by
        #15

        @cipres Well done! Could somebody take a crack at putting this on Cloudron?

        C 1 Reply Last reply
        0
        • L LoudLemur

          @cipres Well done! Could somebody take a crack at putting this on Cloudron?

          C Offline
          C Offline
          cipres
          wrote on last edited by
          #16

          @LoudLemur I've read the packaging tutorial, i can write and publish the CloudronManifest.json file in the galacteek repo if that helps. It seems that the docker image url/ref is not specified in the manifest but rather that you need to pass it when you run "cloudron install --image ..." ?

          timconsidineT 1 Reply Last reply
          1
          • C cipres

            @LoudLemur I've read the packaging tutorial, i can write and publish the CloudronManifest.json file in the galacteek repo if that helps. It seems that the docker image url/ref is not specified in the manifest but rather that you need to pass it when you run "cloudron install --image ..." ?

            timconsidineT Online
            timconsidineT Online
            timconsidine
            App Dev
            wrote on last edited by timconsidine
            #17

            @cipres
            Yes you need :

            • CloudronManifest.json ( can be simple )
            • Dockerfile
            • source code

            Then :

            • docker build -t <reponame>/<appname>:<tag> .
            • docker push <reponame>/<appname>:<tag>
            • cloudron install --image <reponame>/<appname>:<tag>
            C 1 Reply Last reply
            1
            • timconsidineT timconsidine

              @cipres
              Yes you need :

              • CloudronManifest.json ( can be simple )
              • Dockerfile
              • source code

              Then :

              • docker build -t <reponame>/<appname>:<tag> .
              • docker push <reponame>/<appname>:<tag>
              • cloudron install --image <reponame>/<appname>:<tag>
              C Offline
              C Offline
              cipres
              wrote on last edited by
              #18

              @timconsidine Thank you ! The docker image is already automatically built from gitlab ci and pushed to gitlab's container registry here:

              registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc

              So apart from the manifest there isn't much else that needs to be done it seems ?

              timconsidineT 1 Reply Last reply
              0
              • C cipres

                @timconsidine Thank you ! The docker image is already automatically built from gitlab ci and pushed to gitlab's container registry here:

                registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc

                So apart from the manifest there isn't much else that needs to be done it seems ?

                timconsidineT Online
                timconsidineT Online
                timconsidine
                App Dev
                wrote on last edited by timconsidine
                #19

                @cipres generally nothing else needed BUT I think the Dockerfile may need to be custom to Cloudron. Depends on how complex the Dockerfile is.

                • Generally advised to use latest base build
                  FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
                  Although I am not entirely sure about whether this is essential.

                • May need to consider passing some Cloudron-specific variables for DB connection etc.

                • Generally Cloudron deployments are 'static' in terms of system code under /app/code and changeable config and data under /app/data. But again not sure if this is essential.

                Someone with more technical knowledge and better packaging experience may be able to explain / advise better than me.

                C 1 Reply Last reply
                0
                • timconsidineT timconsidine

                  @cipres generally nothing else needed BUT I think the Dockerfile may need to be custom to Cloudron. Depends on how complex the Dockerfile is.

                  • Generally advised to use latest base build
                    FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
                    Although I am not entirely sure about whether this is essential.

                  • May need to consider passing some Cloudron-specific variables for DB connection etc.

                  • Generally Cloudron deployments are 'static' in terms of system code under /app/code and changeable config and data under /app/data. But again not sure if this is essential.

                  Someone with more technical knowledge and better packaging experience may be able to explain / advise better than me.

                  C Offline
                  C Offline
                  cipres
                  wrote on last edited by
                  #20

                  @timconsidine Thanks a lot for your help.The Dockerfile is pretty simple. I don't want to have to maintain 2 different docker images.

                  Given that the password to access the UI via VNC is printed on the console when the container is started, won't be that be a problem when running it from cloudron ?

                  timconsidineT 3 Replies Last reply
                  0
                  • C cipres

                    @timconsidine Thanks a lot for your help.The Dockerfile is pretty simple. I don't want to have to maintain 2 different docker images.

                    Given that the password to access the UI via VNC is printed on the console when the container is started, won't be that be a problem when running it from cloudron ?

                    timconsidineT Online
                    timconsidineT Online
                    timconsidine
                    App Dev
                    wrote on last edited by timconsidine
                    #21

                    @cipres Understood about different images
                    All you can do is try ! Maybe stock image deploys fine on Cloudron

                    About password, it is possible to view the runtime logs on install.
                    You just need to tell people to do that.

                    I can try if you want.
                    But http://registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc comes up as 404 (I will try again)

                    I don't know how VNC is going to work, but would be interested to find out.

                    timconsidineT 1 Reply Last reply
                    0
                    • C cipres

                      @timconsidine Thanks a lot for your help.The Dockerfile is pretty simple. I don't want to have to maintain 2 different docker images.

                      Given that the password to access the UI via VNC is printed on the console when the container is started, won't be that be a problem when running it from cloudron ?

                      timconsidineT Online
                      timconsidineT Online
                      timconsidine
                      App Dev
                      wrote on last edited by
                      #22

                      @cipres if you have a stock image, I guess it could just be

                      cloudron install --image http://registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc

                      ... providing there is a CloudronManifest.json
                      Have you made this yet ? Can you share it ?

                      1 Reply Last reply
                      0
                      • timconsidineT timconsidine

                        @cipres Understood about different images
                        All you can do is try ! Maybe stock image deploys fine on Cloudron

                        About password, it is possible to view the runtime logs on install.
                        You just need to tell people to do that.

                        I can try if you want.
                        But http://registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc comes up as 404 (I will try again)

                        I don't know how VNC is going to work, but would be interested to find out.

                        timconsidineT Online
                        timconsidineT Online
                        timconsidine
                        App Dev
                        wrote on last edited by timconsidine
                        #23

                        @timconsidine said in Galacteek on Cloudron:

                        @cipres Understood about different images
                        All you can do is try ! Maybe stock image deploys fine on Cloudron

                        I tried.
                        But got this :

                        $ cloudron install --image http://registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc
                        Location: 3.appx.uk    
                        Failed to install app: 400 message: Manifest error: Invalid docker image name
                        

                        Maybe related to that 404 I mentioned
                        Or something else I don't understand !

                        EDIT : I don't understand about IPFS or what Galacteek is doing : sorry

                        C 1 Reply Last reply
                        0
                        • C cipres

                          @timconsidine Thanks a lot for your help.The Dockerfile is pretty simple. I don't want to have to maintain 2 different docker images.

                          Given that the password to access the UI via VNC is printed on the console when the container is started, won't be that be a problem when running it from cloudron ?

                          timconsidineT Online
                          timconsidineT Online
                          timconsidine
                          App Dev
                          wrote on last edited by
                          #24

                          @cipres Even though I little idea about what I am building, I am trying to build a Cloudron Dockerfile
                          Will report back.

                          timconsidineT 1 Reply Last reply
                          0
                          • timconsidineT timconsidine

                            @cipres Even though I little idea about what I am building, I am trying to build a Cloudron Dockerfile
                            Will report back.

                            timconsidineT Online
                            timconsidineT Online
                            timconsidine
                            App Dev
                            wrote on last edited by timconsidine
                            #25

                            @cipres
                            I am getting errors

                            COPY docs /usr/local/galacteek/docs/
                            I think this should be COPY galacteek/docs /usr/local/galacteek/docs/

                            More seriously I am getting :

                            #10 40.69         import cryptography
                            #10 40.69     ModuleNotFoundError: No module named 'cryptography'
                            #10 40.69     ----------------------------------------
                            #10 40.93 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
                            

                            I tried to add cryptography to requirements.txt but it didn't work
                            Exploring ...

                            EDIT : can't get past

                            #10 1.621 Collecting cryptography                                                                                            
                            #10 1.716   Downloading cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
                            #10 3.071 ERROR: Could not find a version that satisfies the requirement pip3 (from versions: none)
                            #10 3.077 ERROR: No matching distribution found for pip3
                            

                            Blocked

                            C 1 Reply Last reply
                            0
                            • timconsidineT timconsidine

                              @timconsidine said in Galacteek on Cloudron:

                              @cipres Understood about different images
                              All you can do is try ! Maybe stock image deploys fine on Cloudron

                              I tried.
                              But got this :

                              $ cloudron install --image http://registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc
                              Location: 3.appx.uk    
                              Failed to install app: 400 message: Manifest error: Invalid docker image name
                              

                              Maybe related to that 404 I mentioned
                              Or something else I don't understand !

                              EDIT : I don't understand about IPFS or what Galacteek is doing : sorry

                              C Offline
                              C Offline
                              cipres
                              wrote on last edited by
                              #26

                              Why do you add http:// ? I think that's the issue. This works for me.

                              docker pull registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc
                              

                              I don't have cloudron installed yet. I wrote the CloudronManifest.json, will push it soon. Should the CloudronManifest.json file also be inside the docker container's filesystem ?

                              timconsidineT 1 Reply Last reply
                              0
                              • timconsidineT timconsidine

                                @cipres
                                I am getting errors

                                COPY docs /usr/local/galacteek/docs/
                                I think this should be COPY galacteek/docs /usr/local/galacteek/docs/

                                More seriously I am getting :

                                #10 40.69         import cryptography
                                #10 40.69     ModuleNotFoundError: No module named 'cryptography'
                                #10 40.69     ----------------------------------------
                                #10 40.93 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
                                

                                I tried to add cryptography to requirements.txt but it didn't work
                                Exploring ...

                                EDIT : can't get past

                                #10 1.621 Collecting cryptography                                                                                            
                                #10 1.716   Downloading cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
                                #10 3.071 ERROR: Could not find a version that satisfies the requirement pip3 (from versions: none)
                                #10 3.077 ERROR: No matching distribution found for pip3
                                

                                Blocked

                                C Offline
                                C Offline
                                cipres
                                wrote on last edited by
                                #27

                                @timconsidine The Dockerfile for the x11vnc image is called Dockerfile.debian.x11vnc in the pimp-my-dweb branch.

                                docker build -f Dockerfile.debian.x11vnc  .
                                

                                But no need to build it, better use the available image in the gitlab registry.

                                1 Reply Last reply
                                0
                                • C cipres

                                  Why do you add http:// ? I think that's the issue. This works for me.

                                  docker pull registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc
                                  

                                  I don't have cloudron installed yet. I wrote the CloudronManifest.json, will push it soon. Should the CloudronManifest.json file also be inside the docker container's filesystem ?

                                  timconsidineT Online
                                  timconsidineT Online
                                  timconsidine
                                  App Dev
                                  wrote on last edited by
                                  #28

                                  @cipres I just clicked the link. Probably shouldn't have done. Ignore that.

                                  I tried building with recommended cloudron base image but that generated above errors. Maybe I was trying to be too clever.

                                  Tried again with your base image in your Dockerfile.
                                  That's building now better but still run into errors.
                                  Will report back.

                                  CloudronManifest.json just need to be in project directory.
                                  Doesn't need adding, just accessible when running cloudron install.
                                  Don't worry about sharing for now.

                                  Rather than me fill this topic with dev issues, maybe we should take this to chat ?

                                  C 1 Reply Last reply
                                  0
                                  • timconsidineT timconsidine

                                    @cipres I just clicked the link. Probably shouldn't have done. Ignore that.

                                    I tried building with recommended cloudron base image but that generated above errors. Maybe I was trying to be too clever.

                                    Tried again with your base image in your Dockerfile.
                                    That's building now better but still run into errors.
                                    Will report back.

                                    CloudronManifest.json just need to be in project directory.
                                    Doesn't need adding, just accessible when running cloudron install.
                                    Don't worry about sharing for now.

                                    Rather than me fill this topic with dev issues, maybe we should take this to chat ?

                                    C Offline
                                    C Offline
                                    cipres
                                    wrote on last edited by
                                    #29

                                    @timconsidine Yes better in the chat, thanks.

                                    L 1 Reply Last reply
                                    0
                                    • C cipres

                                      @timconsidine Yes better in the chat, thanks.

                                      L Offline
                                      L Offline
                                      LoudLemur
                                      wrote on last edited by
                                      #30

                                      @cipres @timconsidine - you people are heroes!

                                      This is so powerful. I can't wait to try this. Please let us know how to get it going if you get it ready.

                                      timconsidineT C 2 Replies Last reply
                                      0
                                      • L LoudLemur

                                        @cipres @timconsidine - you people are heroes!

                                        This is so powerful. I can't wait to try this. Please let us know how to get it going if you get it ready.

                                        timconsidineT Online
                                        timconsidineT Online
                                        timconsidine
                                        App Dev
                                        wrote on last edited by
                                        #31

                                        @LoudLemur said in Galacteek on Cloudron:

                                        @cipres @timconsidine - you people are heroes!

                                        @cipres might be
                                        I'm just a blundering monkey

                                        I'm not convinced it will be possible to get a working build, but we're certainly trying

                                        1 Reply Last reply
                                        0
                                        • L LoudLemur

                                          @cipres @timconsidine - you people are heroes!

                                          This is so powerful. I can't wait to try this. Please let us know how to get it going if you get it ready.

                                          C Offline
                                          C Offline
                                          cipres
                                          wrote on last edited by
                                          #32

                                          @LoudLemur @timconsidine adapted the Dockerfile for Cloudron, i hope we can fix the remaining issues.

                                          L 1 Reply Last reply
                                          1
                                          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