Compare commits

...

2 Commits

Author SHA1 Message Date
PabloValenzuela23 45f5b11620 Chore: volumen-change 2023-03-30 11:18:28 -03:00
PabloValenzuela23 ccf2116f13 Agregar-volumen 2023-03-30 11:13:07 -03:00
2 changed files with 10 additions and 2 deletions

View File

@ -13,13 +13,15 @@ services:
api: api:
networks: networks:
- postgres - postgres
image: capichat:0.0.0 image: capichat:0.0.1
ports: ports:
- "8000:8000" - "8000:8000"
environment: environment:
- DB_URL=postgresql://capycode:capycode123@db:5432/estudio - DB_URL=postgresql://capycode:capycode123@db:5432/estudio
depends_on: depends_on:
- db - db
volumes:
- .:/app/
pgadmin: pgadmin:
networks: networks:
- postgres - postgres

View File

@ -1,3 +1,9 @@
from fastapi import FastAPI from fastapi import FastAPI
app =FastAPI() app =FastAPI()
@app.get("/")
def get_lobby():
return "holassss"