Hi all, @Jae, thanks for sending your Dockerfile. I think we are pretty much on the same track. Nice work! What I did to end up with separate Docker containers for Django, Postgres and Elasticsearch is create one Dockerfile with the complete installation procedure and them split them up.
I placed all my code in a public repository: https://bitbucket.org/cvast/cvast-arches-public/overview Please read the Readme, as there are a few things you need to do before you can run it. I kind of rushed getting this public repo in place and making it as generic as possible. If anything goes wrong, let me know! I hope this contribution to the Arches community will help making Arches more accessible and easier to install. To get started with docker: https://www.docker.com/ Vincent Center for Virtualization and Applied Spatial Technologies (CVAST) University of South Florida On Wednesday, 24 August 2016 00:52:18 UTC-4, Jae Hun Lee wrote: > > Hi Joel, > > I have to confess that I have been holding back my dockenization work > because of the recruitment process. I regret doing so now because none of > candidate could install Arches on their computers, and I am devastated by > them. > Anyway, I am sure that Vincent will continue where I left off and provide > the improved docker image to ease installation and operation of Arches. I > would recommend to use docker-compose. > > Hi Vincent, > > I hope my Dockerfile helps your project. Good luck :) > > Best, > Jae > > > > On Wednesday, August 24, 2016 at 8:29:08 AM UTC+5:45, Joel Aldor wrote: >> >> Hi Jae, >> >> Thank you very much for this one. Looking into your Dockerfile code, I >> suppose we still have to look forward to your v2. This is a really great >> development, though! :) >> >> Regards, >> >> Joel >> >> On Tuesday, August 23, 2016 at 1:21:17 PM UTC+8, Jae Hun Lee wrote: >>> >>> Hello, Vincent >>> >>> I'd like to share my work regarding this subject. I hope you can improve >>> with my Docker file: http://goo.gl/pcsXug >>> My Arches docker image is called oixhwotl/arches3-v1:15.10 >>> (15.10 is a tag and it means it was built based on Ubuntu 15.10) >>> (v1 means that everything is in one container. I planned that v2 >>> contains minimal files and works with other containers such as >>> ElasticSearch, PostgreSQL and nginx.) >>> >>> HOW TO USE IT >>> >>> 1. Install docker application >>> >>> 2. Download the image >>> $ docker pull oixhwotl/arches3-v1:15.10 >>> >>> 3. Copy out my_Hip_app to local storage if you don't have your own app >>> $ docker run -it oixhwotl/arches3-v1:15.10 >>> # exit >>> $ docker ps -a >>> (get the image contianer id) >>> $ docker cp <container id>:/roiot/my_hip_app <local storage path> >>> >>> 4. Run server mounting your app >>> $ docker run -it -p 8000:8000 -v <local storage path>:/root/my_hip_app >>> --name arches oixhwotl/arches3-v1:15.10 >>> # source .profile >>> # start_services.sh >>> (this will start PostgreSQL and ElasticSearch) >>> # cd my_hip_app >>> # python manage.py packages -o install >>> # python manage.py runserver 0.0.0.0:8000 >>> >>> Before exiting the container, save your data by following the >>> instructions in this post: >>> https://groups.google.com/forum/#!searchin/archesproject/script%7Csort:relevance/archesproject/sXu6qpMuoAs/qDKQlQstIwAJ >>> >>> The data directory of PostgreSQL is also exportable, and you can create >>> persistent data container for it. >>> https://docs.docker.com/engine/tutorials/dockervolumes/ >>> >>> For Windows, use following command to check and forward the connection >>> > netsh interface portproxy show all >>> > netsh interface portproxy add v4tov4 listenport=80 connectport=8000 >>> connectaddress=<docker ip> >>> > netsh interface portproxy del v4tov4 listenport=80 >>> >>> >>> Good luck Vincent. >>> >>> >>> >>> >>> >>> >>> >>> On Monday, August 8, 2016 at 11:30:31 PM UTC+5:45, Vincent Meijer wrote: >>>> >>>> Yes, we at USF's CVAST are in a far stadium of dockerizing Arches. >>>> After we get everything ready and stable, I will share. Stay tuned! >>>> >>>> On Friday, 29 July 2016 01:25:03 UTC-4, Joel Aldor wrote: >>>>> >>>>> Has anyone continued the dockerization of Arches 3? >>>>> >>>>> On Sunday, January 11, 2015 at 3:30:01 PM UTC+8, Rita Sinha wrote: >>>>>> >>>>>> Hi Alex, >>>>>> >>>>>> Thanks for the much needed start for dockerizing the >>>>>> arches >>>>>> project. I have gone through your work and prefer starting from >>>>>> where >>>>>> you left. >>>>>> >>>>>> I am too having some issues with dedicating a lot of time on this >>>>>> project presently but plan to actively work on it in summers and >>>>>> just wanted to familiarize with the Arches developer community and >>>>>> the >>>>>> project as a whole. >>>>>> >>>>>> Regards, >>>>>> Rita sinha >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Jan 9, 2015 at 1:02 PM, Alex Proca <[email protected]> >>>>>> wrote: >>>>>> > Hello, >>>>>> > >>>>>> > I started dockerizing the arches project but abandoned project due >>>>>> to lack >>>>>> > of time. If you want to continue from where I left or if you want a >>>>>> starting >>>>>> > point have a look at https://bitbucket.org/alexproca/arches >>>>>> > >>>>>> > >>>>>> > On Thursday, January 8, 2015 at 3:53:40 PM UTC+2, Rita Sinha wrote: >>>>>> >> >>>>>> >> Hi, >>>>>> >> >>>>>> >> I have been recently lurking around open source projects when I >>>>>> came >>>>>> >> across The Arches Project and developed keen interest in >>>>>> contributing to >>>>>> >> the org. >>>>>> >> >>>>>> >> After going through the project, I'm eager to improve the existing >>>>>> >> installation of Arches. >>>>>> >> >>>>>> >> After going through the current installation guide, I would like >>>>>> to >>>>>> >> suggest using Docker to deploy Arches. >>>>>> >> >>>>>> >> For those not familiar with docker, can take the reference from >>>>>> here- >>>>>> >> >>>>>> >> http://en.wikipedia.org/wiki/Docker_(software) >>>>>> >> >>>>>> >> Regards, >>>>>> >> Rita Sinha >>>>>> > >>>>>> > -- >>>>>> > -- To post, send email to [email protected]. To >>>>>> unsubscribe, >>>>>> > send email to [email protected]. For more >>>>>> > information, visit >>>>>> https://groups.google.com/d/forum/archesproject?hl=en >>>>>> > --- >>>>>> > You received this message because you are subscribed to a topic in >>>>>> the >>>>>> > Google Groups "Arches Project" group. >>>>>> > To unsubscribe from this topic, visit >>>>>> > >>>>>> https://groups.google.com/d/topic/archesproject/LwYW_TTLpcc/unsubscribe. >>>>>> >>>>>> > To unsubscribe from this group and all its topics, send an email to >>>>>> > [email protected]. >>>>>> > For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
