apt-key adv --keyserver pgp.mit.edu --recv-key 5C808C2B65558117
ADD ./examples/deploy/apt-app.list /etc/apt/sources.list.d/
RUN apt-get update && \
- apt-get install -y --force-yes python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-alsa vamp-examples
+ apt-get install -y --force-yes python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-alsa vamp-examples libmysqlclient-dev
RUN apt-get -y --force-yes -t wheezy-backports dist-upgrade
RUN apt-get install -y --force-yes -t wheezy-backports python-aubio python-yaafe
#RUN apt-get install -y --force-yes -t wheezy-backports build-essential vim python python-dev python-pip nginx postgresql python-psycopg2 supervisor git
scipy=0.14.0=np19py27_0
setuptools=12.2=py27_0
traits=4.4.0=py27_0
+mysql-python=1.2.5=py27_0
\ No newline at end of file
command: /bin/true
-# db:
-# image: postgres
-# volumes_from:
-# - datadb
-
+db:
+ image: mysql
+ volumes_from:
+ - lib
+ - log
+ environment:
+ - MYSQL_ROOT_PASSWORD=mysecretpassword
+ - MYSQL_DATABASE=timeside
+ - MYSQL_USER=timeside
+ - MYSQL_PASSWORD=changeme
rabbitmq:
image: rabbitmq:3-management
ports:
- "8000" #default runserver wsgi port
links:
- rabbitmq
+ - db
worker:
build: .
# Copy Sandbox in /home/timeside
# this is not needed for TimeSide but for Timeside-diadems
-cp -uR /opt/TimeSide/examples/sandbox/* /home/timeside/
+# cp -uR /opt/TimeSide/examples/sandbox/* /home/timeside/
+
+# install staging modules
+pip install mysql
# django init
python $manage syncdb --noinput
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': os.path.join(PROJECT_ROOT, 'timeside.sql'), # Or path to database file if using sqlite3.
- 'USER': '', # Not used with sqlite3.
- 'PASSWORD': '', # Not used with sqlite3.
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+ # 'NAME': os.path.join(PROJECT_ROOT, 'timeside.sql'), # Or path to database file if using sqlite3.
+ 'NAME': 'timeside', # Or path to database file if using sqlite3.
+ 'USER': 'timeside', # Not used with sqlite3.
+ 'PASSWORD': 'changeme', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
- 'OPTIONS': {
- 'timeout': 60,
- }
+ # 'OPTIONS': {
+ # 'timeout': 60,
+ # }
}
}
'networkx',
'django-celery',
'watchdog',
+ 'mysqldb',
],
platforms=['OS Independent'],
license='Gnu Public License V2',