cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

UploadThing in DockerContainer

Chrischhan
13-Aquamarine

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?

ACCEPTED SOLUTION

Accepted Solutions
Chrischhan
13-Aquamarine
(To:cmorfin)

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

View solution in original post

6 REPLIES 6
CRArko
17-Peridot
(To:Chrischhan)

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.

cmorfin
19-Tanzanite
(To:Chrischhan)

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

Chrischhan
13-Aquamarine
(To:cmorfin)

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?

cmorfin
19-Tanzanite
(To:Chrischhan)

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

Chrischhan
13-Aquamarine
(To:cmorfin)

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

cmorfin
19-Tanzanite
(To:Chrischhan)

For the record, check also How to install UploadThing into Thingworx core docker container? for a possibly easier implementation

Announcements


Top Tags