This commit is contained in:
Ilia 2021-03-21 20:04:54 +03:00
parent 76cee42e52
commit 1df6b10b8d
10 changed files with 14 additions and 3 deletions

View File

@ -11,4 +11,3 @@ RUN pip3 install -r requirements.txt
COPY . /app/
RUN ["python", "manage.py", "runserver", "0.0.0.0:8000"]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

8
data/db/postmaster.pid Normal file
View File

@ -0,0 +1,8 @@
1
/var/lib/postgresql/data
1616346267
5432
/var/run/postgresql
*
894087 0
ready

View File

@ -103,8 +103,12 @@ WSGI_APPLICATION = 'evgenApp.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': 'db',
'PORT': 5432,
}
}

Binary file not shown.