Skip to main content
13-Aquamarine
Aug 4, 2017 1:36 PM UTC
Solved

UploadThing in DockerContainer

Has anyone tried to get the UploadThing Running in Docker?

Docker can not run sudo so the installscript fails. What is an Solution to this?

    13-Aquamarine
    Sep 6, 2017 8:04 AM UTC

    I have managed to reengineer the install script an create my own docker container.

    Steps taken:

    • create correct config files for Upload Thing an made an local folder for it
    • Create an startscript to change some values in configfiles (WS endpoint) and start the UploadThing
    • Create Dockerfile
    • Build and run image

    It is not beautifull and with ~450mb for the image not the smalest but it works in my case.

    if anyone is interested in the resources let me know about it

    6 replies

    5-Regular Member
    Aug 4, 2017 6:29 PM UTC

    Hello, Christian.

    Just so I'm understanding correctly, you're talking about UploadThing_Install-8-0.zip - a file that must be installed to upload data files via Analytics Builder, is that correct?

    If so, I'll ask one of our Analytics specialists to weigh in here.

    Thank you,

    -- Craig A.

    Translate
    19-Tanzanite
    Aug 7, 2017 8:38 AM UTC

    Hi Christian

    As Craig asked, if this is the UploadThing for ThingWorx Analytics, could you please give us some more details on your architecture:

    - Did you install ThingWorx 8.0 as a docker container ?

    - and are you trying to install uplaodthing in that container ?

    - what is the host OS ?

    - is ThingWorx Analytics Server installed on a different machine or the same machine as ThingWorx Platform ?

    Thank you

    Kind regards

    Christophe

    Translate
    13-Aquamarine
    Aug 21, 2017 8:05 AM UTC

    hi,

    my setup is one linux server with a TWX-Docker (8.0.1 - postgres) container and a second container with Analytics(8.0), both installed with the provided installers.

    next to the two containers is a postgres container.

    I tried to install the upload thing in the TWX Container because it needs acces to the ThingworxStorage folder.

    Did you have any installation steps or a manual for installing the Upload thing in the Docker container?

    Or even better some additional container with required connections to the TWX container?

    Translate
    19-Tanzanite
    Sep 4, 2017 10:52 AM UTC

    Hi Christian

    Apologize for the delay I was OOTO.

    I am discussing this with R&D as there is indeed currently a lack of documentation on how to perform this.

    I will update the thread once I get some information form R&D .

    thank you

    Christophe

    Translate