mirror of
https://github.com/pretix/pretix.git
synced 2026-04-25 23:42:32 +00:00
Add MySQL und Postgres drivers to the deployment
This commit is contained in:
@@ -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
|
||||
|
||||
2
src/requirements/mysql.txt
Normal file
2
src/requirements/mysql.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
--allow-external mysql-connector-python
|
||||
mysql-connector-python
|
||||
2
src/requirements/postgres.txt
Normal file
2
src/requirements/postgres.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
psycopg2
|
||||
|
||||
Reference in New Issue
Block a user