Skip to content

Commit ea5cd4e

Browse files
committed
fixup! feat(cli): expose graphql endpoint
1 parent 71e06b3 commit ea5cd4e

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

apps/cli/src/node/docker-compose-graphql.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ services:
1919
POSTGRES_NODE_DB_URL: postgres://${PGUSER:-postgres}:${PGPASSWORD:-password}@${PGHOST:-database}:${PGPORT:-5432}/${PGDATABASE:-postgres}?sslmode=disable
2020
expose:
2121
- 8080
22-
command: ["cartesi-rollups-hl-graphql", "--graphile-disable-sync"]
22+
command: ["cartesi-rollups-graphql"]
2323
depends_on:
2424
graphql_database_creator:
2525
condition: service_completed_successfully
2626

2727
prompt:
2828
image: debian:bookworm-slim
2929
environment:
30-
PROMPT_TXT_04_GRAPHQL: "graphql endpoint running at http://localhost:${CARTESI_LISTEN_PORT}/graphql/"
30+
PROMPT_TXT_04_GRAPHQL: "GraphQL endpoint running at http://localhost:${CARTESI_LISTEN_PORT}/graphql/"
3131

3232
traefik-config-generator:
3333
environment:

apps/cli/src/node/docker-compose-validator.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ services:
3030
prompt:
3131
image: debian:bookworm-slim
3232
environment:
33-
PROMPT_TXT_02_GRAPHQL: "GraphQL running at http://localhost:${CARTESI_LISTEN_PORT}/graphql"
3433
PROMPT_TXT_03_INSPECT: "Inspect running at http://localhost:${CARTESI_LISTEN_PORT}/inspect/"
3534

3635
traefik-config-generator:
@@ -46,14 +45,3 @@ services:
4645
loadBalancer:
4746
servers:
4847
- url: "http://validator:10000/inspect"
49-
TRAEFIK_CONFIG_GRAPHQL_SERVER: |
50-
http:
51-
routers:
52-
graphql_server:
53-
rule: "PathPrefix(`/graphql`)"
54-
service: graphql_server
55-
services:
56-
graphql_server:
57-
loadBalancer:
58-
servers:
59-
- url: "http://validator:10000/graphql"

0 commit comments

Comments
 (0)