feat(api): run wrapper to add contract cost endpoints

This commit is contained in:
u1
2026-02-01 00:42:58 +00:00
parent bb2db662d5
commit e6a2731d7e

View File

@@ -14,16 +14,32 @@ spec:
spec:
imagePullSecrets:
- name: gitea-registry
volumes:
- name: trade-api-wrapper
configMap:
name: trade-api-wrapper
containers:
- name: api
image: gitea.mpabi.pl/trade/trade-api:k3s-20260111095435
imagePullPolicy: IfNotPresent
command: ["node", "/override/wrapper.mjs"]
ports:
- name: http
containerPort: 8787
volumeMounts:
- name: trade-api-wrapper
mountPath: /override/wrapper.mjs
subPath: wrapper.mjs
readOnly: true
env:
- name: PORT
value: "8787"
- name: UPSTREAM_PORT
value: "8788"
- name: UPSTREAM_ENTRY
value: "/app/services/api/server.mjs"
- name: UPSTREAM_HOST
value: "127.0.0.1"
- name: APP_VERSION
value: "staging"
- name: HASURA_GRAPHQL_URL