debugpy added to pipfile

This commit is contained in:
2023-02-28 13:27:49 +03:00
parent 6ebfc7c7d3
commit 4a71515d0f
3 changed files with 87 additions and 62 deletions

View File

@@ -11,20 +11,21 @@ services:
- POSTGRES_DB=foo
web:
build: .
command: bash -c "pipenv run uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload"
command: /code/entrypoint.sh
volumes:
- .:/code
ports:
- "8000:8000"
- "5678:5678"
depends_on:
- db
pgadmin:
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=pgadmin4@pgadmin.org
- PGADMIN_DEFAULT_PASSWORD=admin
ports:
- "5050:80"
depends_on:
- db
# pgadmin:
# image: dpage/pgadmin4
# environment:
# - PGADMIN_DEFAULT_EMAIL=pgadmin4@pgadmin.org
# - PGADMIN_DEFAULT_PASSWORD=admin
# ports:
# - "5050:80"
# depends_on:
# - db