Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenConceptLab/ocl_issues#286 Deploy oclapi2 to QA
- Loading branch information
1 parent
d1a899e
commit 6d91c00
Showing
9 changed files
with
313 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM python:3.8.3 | ||
ENV PYTHONUNBUFFERED 1 | ||
RUN mkdir /code | ||
WORKDIR /code | ||
ADD requirements.txt /code/ | ||
ADD startup.sh /code/ | ||
RUN apt-get update --fix-missing | ||
RUN apt-get install -y software-properties-common | ||
WORKDIR /code | ||
RUN pip install -r requirements.txt | ||
ADD . /code/ | ||
EXPOSE 8000 | ||
CMD bash startup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: '3' | ||
|
||
services: | ||
db: | ||
ports: | ||
- 5432:5432 | ||
restart: "no" | ||
redis: | ||
ports: | ||
- 6379:6379 | ||
restart: "no" | ||
api: | ||
build: . | ||
ports: | ||
- 8000:8000 | ||
volumes: | ||
- .:/code | ||
restart: "no" | ||
celery: | ||
build: . | ||
volumes: | ||
- .:/code | ||
restart: "no" | ||
flower: | ||
build: . | ||
volumes: | ||
- .:/code | ||
ports: | ||
- 5555:5555 | ||
restart: "no" | ||
es: | ||
ports: | ||
- 9200:9200 | ||
restart: "no" | ||
es1: | ||
restart: "no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
Django>=3.0.7 | ||
psycopg2 | ||
djangorestframework>=3.9.1 | ||
pylint | ||
pydash | ||
django-cors-headers | ||
pyyaml | ||
colour_runner | ||
boto3 | ||
moto | ||
git+https://github.com/snyaggarwal/django-queryset-csv | ||
six | ||
python-dateutil | ||
requests | ||
factory_boy | ||
celery | ||
Django==3.0.9 | ||
psycopg2==2.8.5 | ||
djangorestframework==3.11.1 | ||
pylint==2.5.3 | ||
pydash==4.8.0 | ||
django-cors-headers==3.4.0 | ||
pyyaml==5.3.1 | ||
colour_runner==0.1.1 | ||
boto3==1.14.37 | ||
moto==1.3.14 | ||
six==1.15.0 | ||
python-dateutil==2.8.1 | ||
requests==2.24.0 | ||
factory_boy==2.12.0 | ||
celery==4.4.7 | ||
celery_once==0.1.4 | ||
flower | ||
redis>=2.10.5 | ||
flower==0.9.5 | ||
redis==3.5.3 | ||
celery[redis]==3.1.17 | ||
kombu | ||
django-elasticsearch-dsl | ||
kombu==4.6.10 | ||
django-elasticsearch-dsl==7.1.4 | ||
git+https://github.com/snyaggarwal/django-queryset-csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
celery -A core.celery flower --conf=flowerconfig.py | ||
celery -A core.celery flower --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD} --conf=flowerconfig.py |
Oops, something went wrong.