Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/custom/graphql_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def mutate(cls, *args, **kwargs):
{
"pro_subscription_status": user.pro_subscription_status,
"is_subscription_active": is_subscription_active,
"has_chatbot_access": user.has_chatbot_access,
}
)
return response
9 changes: 4 additions & 5 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ services:
env_file: [.env]
ports: [5432:5432]
volumes: [pgdata:/var/lib/postgresql/data]
networks: [default, db_network]
healthcheck:
test: [CMD, pg_isready, -U, postgres]
interval: 1m
Expand All @@ -64,7 +63,7 @@ services:
- 8080:80 # API port
- 5678:5678 # Debug port
volumes: [.:/app, $HOME/.basedosdados/credentials:/app/credentials:ro]
networks: [default, db_network]
networks: [default, api_network]
depends_on:
index:
condition: service_healthy
Expand All @@ -82,7 +81,7 @@ services:
volumes:
esdata:
pgdata:
# External network used for database access by other services (e.g., chatbot API)
# External network used for api access by other services (e.g., chatbot API)
networks:
db_network:
name: db_network
api_network:
name: api_network
Loading