From: Guillaume Pellerin Date: Fri, 27 Mar 2015 21:57:53 +0000 (+0100) Subject: Force lib volume decomposition, update docker doc X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=af4e00c6c476c89c37e188dc5d8545810f1b824f;p=timeside.git Force lib volume decomposition, update docker doc --- diff --git a/README.rst b/README.rst index fc14fb7..d3dd7e9 100644 --- a/README.rst +++ b/README.rst @@ -229,41 +229,36 @@ API / Documentation * Notebooks : http://nbviewer.ipython.org/github/thomasfillon/Timeside-demos/tree/master/ * Example : http://archives.crem-cnrs.fr/archives/items/CNRSMH_E_2004_017_001_01/ + Install ======= Any platform -------------- -Thanks to Docker, TimeSide is now fully available as a docker image ready to work. The image includes all the necessary applications, modules and volumes to start your project in 5 minutes: - - 1. install `Git `_ - - 2. install `Docker `_ - - 3. install `docker-compose `_ - - 4. clone TimeSide:: +Thanks to Docker, TimeSide is now fully available as a docker image ready to work. The image includes all the necessary applications, modules and volumes to start your project in a few minutes. - git clone https://github.com/Parisson/TimeSide.git - cd TimeSide +First install `Git `_, `Docker `_ and `docker-compose `_, then copy these commands in a terminal and hit ENTER:: - 5. start it up:: + git clone https://github.com/Parisson/TimeSide.git + cd TimeSide + docker-compose up - docker-compose up +That's it! You can now browse the TimeSide API: http://localhost:8000/api/ -That's it! You can now browse the TimeSide API browsing http://localhost:8000/api/ +and the admin: http://localhost:8000/admin (admin/admin) -To process data by hand, you can also start a python shell session into the sandbox:: +To process some data by hand, you can also start a python shell session into the sandbox:: docker-compose run app python examples/sandbox/manage.py shell -To build your project on top of TimeSide, just pull our latest master image:: +To build your own audido project on top of TimeSide, just pull our latest master image:: docker pull parisson/timeside:latest +WARNING: our docker composition already bundles some powerfull containers and bleeding edge frameworks (Nginx, MySQL, RabbitMQ, Celery, Python, Django) that can be scaled from development to massive production environments very easily. But you must modify all the passwords and secret keys of the sandbox before any serious usecase. -More infos about our docker repository: https://registry.hub.docker.com/u/parisson/timeside/ +More infos about the TimeSide docker image: https://registry.hub.docker.com/u/parisson/timeside/ Debian, Ubuntu diff --git a/doc/source/install.rst b/doc/source/install.rst index 00e681e..5ed7f02 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -1,38 +1,33 @@ + Install ======= Any platform -------------- -Thanks to Docker, TimeSide is now fully available as a docker image ready to work. The image includes all the necessary applications, modules and volumes to start your project in 5 minutes: - - 1. install `Git `_ - - 2. install `Docker `_ - - 3. install `docker-compose `_ - - 4. clone TimeSide:: +Thanks to Docker, TimeSide is now fully available as a docker image ready to work. The image includes all the necessary applications, modules and volumes to start your project in a few minutes. - git clone https://github.com/Parisson/TimeSide.git - cd TimeSide +First install `Git `_, `Docker `_ and `docker-compose `_, then copy these commands in a terminal and hit ENTER:: - 5. start it up:: + git clone https://github.com/Parisson/TimeSide.git + cd TimeSide + docker-compose up - docker-compose up +That's it! You can now browse the TimeSide API: http://localhost:8000/api/ -That's it! You can now browse the TimeSide API browsing http://localhost:8000/api/ +and the admin: http://localhost:8000/admin (admin/admin) -To process data by hand, you can also start a python shell session into the sandbox:: +To process some data by hand, you can also start a python shell session into the sandbox:: docker-compose run app python examples/sandbox/manage.py shell -To build your project on top of TimeSide, just pull our latest master image:: +To build your own audido project on top of TimeSide, just pull our latest master image:: docker pull parisson/timeside:latest +WARNING: our docker composition already bundles some powerfull containers and bleeding edge frameworks (Nginx, MySQL, RabbitMQ, Celery, Python, Django) that can be scaled from development to massive production environments very easily. But you must modify all the passwords and secret keys of the sandbox before any serious usecase. -More infos about our docker repository: https://registry.hub.docker.com/u/parisson/timeside/ +More infos about the TimeSide docker image: https://registry.hub.docker.com/u/parisson/timeside/ Debian, Ubuntu diff --git a/docker-compose.yml b/docker-compose.yml index 7f9482b..29e81dc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,6 +36,14 @@ log: - /var/log/uwsgi command: /bin/true +lib: + image: debian:wheezy + volumes: + - /var/lib/rabbitmq + - /var/lib/postgres + - /var/lib/mysql + command: /bin/true + home: image: debian:wheezy volumes: @@ -56,8 +64,6 @@ rabbitmq: image: rabbitmq:3-management ports: - "15672:15672" - expose: - - "5672" app: build: .