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 lock Vincent.
Good luck Vincent.
--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesproject+unsubscribe@googlegroups.com. 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 archesproject+unsubscribe@googlegroups.com.
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 archesprojec...@googlegroups.com.
Hi Vincent, thanks for that link! No problems pulling and running Arches, works great!