Merge pull request #6 from Permissionless-Software-Foundation/ct-unstable

Fixing issue with Docker container
This commit is contained in:
Chris Troutner
2026-03-23 13:06:18 -07:00
committed by GitHub
3 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ import { base } from 'viem/chains'
import { createWalletClient, http } from 'viem' import { createWalletClient, http } from 'viem'
const baseURL = 'http://localhost:5942' // const baseURL = 'http://localhost:5942' // Local
const baseURL = 'https://x402.fullstack.cash' // Production
const endpointPath = '/v6/full-node/blockchain/getBlockchainInfo' const endpointPath = '/v6/full-node/blockchain/getBlockchainInfo'
const pKey = process.env.PRIVATE_KEY || '' const pKey = process.env.PRIVATE_KEY || ''
+1 -1
View File
@@ -51,7 +51,7 @@ RUN git clone https://github.com/Permissionless-Software-Foundation/psf-bch-api-
# and `stage` has the most up-to-date changes. # and `stage` has the most up-to-date changes.
WORKDIR /home/safeuser/psf-bch-api-base WORKDIR /home/safeuser/psf-bch-api-base
RUN git checkout ct-unstable #RUN git checkout ct-unstable
# Install dependencies # Install dependencies
RUN npm install RUN npm install
+2 -1
View File
@@ -19,4 +19,5 @@ services:
- ./.env:/home/safeuser/.env - ./.env:/home/safeuser/.env
- ../data:/home/safeuser/psf-bch-api/production/data - ../data:/home/safeuser/psf-bch-api/production/data
- ../data/logs:/home/safeuser/psf-bch-api/logs - ../data/logs:/home/safeuser/psf-bch-api/logs
restart: always restart: always