Docker deployment: fix versions and docker-compose
This commit is contained in:
1
Makefile
1
Makefile
@@ -13,7 +13,6 @@ dev-requirements: ## Install dev requirements
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
docker-run-app: ## Run production setup in docker
|
||||
python3 ./utils/wait_for_postgres.py
|
||||
python3 manage.py migrate
|
||||
gunicorn infomate.asgi:application -w 3 -k uvicorn.workers.UvicornWorker --bind=0.0.0.0:8816 --capture-output --log-level debug --access-logfile - --error-logfile -
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
- "127.0.0.1:8816:8816"
|
||||
|
||||
@@ -27,7 +25,6 @@ services:
|
||||
container_name: infomate_cron
|
||||
depends_on:
|
||||
- app
|
||||
- postgres
|
||||
ports: []
|
||||
|
||||
# postgres:
|
||||
|
||||
@@ -3,13 +3,14 @@ gunicorn==20.1.0
|
||||
uvicorn==0.17.6
|
||||
psycopg2-binary==2.8.6
|
||||
click==7.0
|
||||
pillow==8.2.0
|
||||
pillow==9.0.1
|
||||
awesome-slugify>=1.6.5
|
||||
requests==2.22.0
|
||||
requests>=2.22.0
|
||||
beautifulsoup4==4.6.2
|
||||
pyyaml==5.2
|
||||
feedparser==6
|
||||
sentry-sdk==0.14.1
|
||||
nltk==3.4.5
|
||||
newspaper3k>=0.2.8
|
||||
django-bleach==0.6.1
|
||||
django-bleach==1.0.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user