diff --git a/build_image/docker/common/api-engine/Dockerfile.in b/build_image/docker/common/api-engine/Dockerfile.in index ca2f0c3e..7f4fff1b 100644 --- a/build_image/docker/common/api-engine/Dockerfile.in +++ b/build_image/docker/common/api-engine/Dockerfile.in @@ -14,7 +14,7 @@ WORKDIR /var/www/server COPY src/api-engine ./ # Install python dependencies -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install -r requirements.txt # Add uwsgi configuration file COPY build_image/docker/common/api-engine/server.ini /etc/uwsgi/apps-enabled/ diff --git a/src/api-engine/api_engine/settings.py.example b/src/api-engine/api_engine/settings.py.example index 280fc2ec..338ad4fa 100644 --- a/src/api-engine/api_engine/settings.py.example +++ b/src/api-engine/api_engine/settings.py.example @@ -24,7 +24,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = "=5-oa588z5-5ow4wd8+=xoj%uy_rd6a65edkfvn3&zw+1=qhwd" # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = $DEBUG +DEBUG = ${DEBUG} ALLOWED_HOSTS = ["*"] diff --git a/src/api-engine/requirements.txt b/src/api-engine/requirements.txt index 2bf045cf..35a22024 100644 --- a/src/api-engine/requirements.txt +++ b/src/api-engine/requirements.txt @@ -1,20 +1,20 @@ -Django>=2.2.10,<=3.0.4 -uwsgi<=2.0.17.1 -djangorestframework<=3.9.0 -django-filter<=1.1.0 -drf-yasg<=1.11.1 -flex<=6.13.2 -swagger_spec_validator<=2.4.1 -psycopg2-binary<=2.7.7 -holdup>1.5.0,<=1.6.0 -django-extensions<=2.1.6 -pygraphviz<=1.5 +Django>=3.0.0,<4.0.0 celery<=4.2.1 -redis<=3.2.0 -# docker-compose>=1.18.0,<=1.25.4 -watchdog<=0.9.0 -django-allauth<=0.39.1 -django-rest-auth<=0.9.3 -djangorestframework-jwt<=1.11.0 -kubernetes<=10.0.1 +django-allauth>=0.39.0,<=0.41.0 django-cors-headers +django-extensions>=2.1.9,<=2.2.9 +django-filter>=2.0.0,<=2.0.0 +django-rest-auth>=0.9.3,<=0.9.5 +djangorestframework-jwt<=1.11.0 +djangorestframework>=3.0.0,<=3.11.0 +docker>=4.0.0,<=4.2.0 +drf-yasg>=1.11.1,<=1.17.1 +flex>=6.13.2,<=6.14.2 +holdup>1.5.0,<=1.8.0 +kubernetes>=10.0.0,<=11.0.1 +psycopg2-binary>=2.7.0,<=2.8.4 +pygraphviz<=1.5 +redis>=3.2.0,<=3.4.1 +swagger_spec_validator>=2.4.0,<=2.5.0 +uwsgi>=2.0.17.0,<=2.0.18.1 +watchdog>=0.9.0,<=0.10.2 \ No newline at end of file