Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them => => naming to docker.io/library/ramrobazar_web 0.0s => CACHED RUN pip install -r requirements.txt 0.0s => CACHED RUN pip install -upgrade pip 0.0s => CACHED RUN apt-get update & apt-get install -y build-essential libpq-dev & rm -rf /var/li 0.0s => load metadata for docker.io/library/python:3.8-slim-buster 3.0s => load build definition from Dockerfile 0.0s (venv) C:\Users\ashut\Desktop\ramrobazar>docker-compose up -build When I delete all the migration files (like 0001_initial.py) and execute docker-compose up -build, I get the following: # 'default': dj_database_url.parse(DATABASE_URL, conn_max_age=600) # DATABASE_URL = config('DATABASE_URL').replace("\'", "") # 'ENGINE': 'django.db.backends.sqlite3', RUN apt-get update & apt-get install -y \ĮNGINE=django.db.backends.postgresql_psycopg2 postgres_data:/var/lib/postgresql/data/ I wasn't following the tutorial exactly as shown in the video though. I was following a youtube tutorial when I encountered this problem. I am trying to connect my django app in one docker container to postgreSQL database in another docker container. I am pretty new to Django and very new to docker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |