image: elasticsearch:1
app:
- build: .
+ image: parisson/telemeta:latest
volumes:
- ./app:/srv/app
- ./telemeta:/srv/src/telemeta/telemeta
- - ./lib/:/srv/src/plugins/
volumes_from:
- data
env_file:
- search
worker:
- build: .
+ image: parisson/telemeta:latest
volumes_from:
- app
+ - data
env_file:
- env/prod.env
command: /bin/bash scripts/worker.sh
--- /dev/null
+# -*- coding: utf-8 -*-
+#
+# Copyright (c) 2015-2016 Parisson SARL
+
+# This file is part of Telemeta.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+
+# TimeSide is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+
+# You should have received a copy of the GNU Affero General Public License
+# along with TimeSide. If not, see <http://www.gnu.org/licenses/>.
+
+# Authors:
+# Guillaume Pellerin <yomguy@parisson.com>
+# Thomas Fillon <thomas@parisson.com>
+
+
+app:
+ build: .
+
+worker:
+ build: .
app:
+ image: image: parisson/telemeta:latest-dev
env_file:
- env/debug.env
command: /bin/bash scripts/app.sh --runserver
- 9000:8000
worker:
+ image: image: parisson/telemeta:latest-dev
env_file:
- env/debug.env