From 5a4952eb7ffcaeb3928c57caa69ada37d06f322f Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 18 May 2015 16:47:14 +0200 Subject: [PATCH] Add MySQL und Postgres drivers to the deployment --- deployment/docker/standalone/Dockerfile | 2 ++ src/requirements/mysql.txt | 2 ++ src/requirements/postgres.txt | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 src/requirements/mysql.txt create mode 100644 src/requirements/postgres.txt diff --git a/deployment/docker/standalone/Dockerfile b/deployment/docker/standalone/Dockerfile index 9afd78432dd..0513a092ffb 100644 --- a/deployment/docker/standalone/Dockerfile +++ b/deployment/docker/standalone/Dockerfile @@ -24,6 +24,8 @@ RUN git clone --recursive --depth 1 https://github.com/pretix/pretix.git /pretix WORKDIR /pretix/src RUN pip3 install -r requirements.txt +RUN pip3 install -r requirements/mysql.txt +RUN pip3 install -r requirements/postgres.txt RUN pip3 install gunicorn RUN make production diff --git a/src/requirements/mysql.txt b/src/requirements/mysql.txt new file mode 100644 index 00000000000..0095ffd8de3 --- /dev/null +++ b/src/requirements/mysql.txt @@ -0,0 +1,2 @@ +--allow-external mysql-connector-python +mysql-connector-python diff --git a/src/requirements/postgres.txt b/src/requirements/postgres.txt new file mode 100644 index 00000000000..6ccfa4b1a57 --- /dev/null +++ b/src/requirements/postgres.txt @@ -0,0 +1,2 @@ +psycopg2 +