port8000
Some checks failed
deploy to v2 / test (push) Failing after 2m37s
deploy to v2 / deploy (push) Has been skipped

This commit is contained in:
Untone 2024-02-15 16:00:35 +03:00
parent b773e03f9b
commit 2163e85b16
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ FROM python:3.12-slim
WORKDIR /app WORKDIR /app
# Add metadata to the image to describe that the container is listening on port 80 # Add metadata to the image to describe that the container is listening on port 80
EXPOSE 80 EXPOSE 8000
# Copy the current directory contents into the container at /app # Copy the current directory contents into the container at /app
COPY . /app COPY . /app

View File

@ -1,6 +1,6 @@
from os import environ from os import environ
PORT = 80 PORT = 8000
DB_URL = ( DB_URL = (
environ.get("DATABASE_URL", environ.get("DB_URL", "")).replace("postgres://", "postgresql://") environ.get("DATABASE_URL", environ.get("DB_URL", "")).replace("postgres://", "postgresql://")
or "postgresql://postgres@localhost:5432/discoursio" or "postgresql://postgres@localhost:5432/discoursio"