From: Mathias G. <go...@su...> - 2021-10-18 10:59:31
|
Hi Loren, i would recommend creating a docker-compose setup with three containers: nginx, react app, eXist-db. So you can seamless update your applications and it will increase the security by increased isolation. Basically you can take the exist-db docker and simply COPY your XAR packages to the autodeploy directory: FROM existdb/existdb:5.3.0 # copy EXPath packages COPY [PATHTO]/*.xar /exist/autodeploy/ COPY [PATHTO-dependencies]/*.xar /exist/autodeploy/ For using with apache httpd you can find a more complete setup at https://gitlab.gwdg.de/subugoe/ahiqar/backend/-/tree/develop/docker best, Mathias On 15.10.21 21:44, Loren Cahlander wrote: > Hello folks, > > I have several Git repositories. > > * A ReactJS web application > * A data XAR application > * An RestXQ API XAR application > > > What I would like is to create a docker image with the ReactJS web app > deployed in Nginx with a reverse proxy to eXist-db 5.3.0 and the two > XAR to be packaged (maven) and XARs placed in auto deploy. Has anyone > created such an image? > > Thank you, > Loren > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open -- Mathias Göbel University of Göttingen Göttingen State and University Library D-37070 Göttingen Research and Development Papendiek 14 (hist. Building, Room 2.408 <https://lageplan.uni-goettingen.de/?ident=7209_4_2.OG_2.408>) +49 551 39-25823 (Tel., Wednesday to Friday) +49 551 39-33856 (Fax.) Digital Library Software and Service Development Platz der Göttinger Sieben 1 (Central Library, Room 2.129 <https://lageplan.uni-goettingen.de/?ident=5383_1_2.OG_2.129>) +49 551 39-10230 (Tel., Monday/Tuesday) go...@su... <mailto:goebel@sub.uni= -goettingen.de> http://www.sub.uni-goettingen.de <https://www.sub.uni-goettingen.de/en/news/> |