mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api-base.git
synced 2026-09-21 16:52:00 -07:00
Merge pull request #6 from Permissionless-Software-Foundation/ct-unstable
Fixing issue with Docker container
This commit is contained in:
@@ -6,7 +6,9 @@ import { base } from 'viem/chains'
|
||||
|
||||
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 pKey = process.env.PRIVATE_KEY || ''
|
||||
|
||||
|
||||
@@ -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.
|
||||
WORKDIR /home/safeuser/psf-bch-api-base
|
||||
|
||||
RUN git checkout ct-unstable
|
||||
#RUN git checkout ct-unstable
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
@@ -19,4 +19,5 @@ services:
|
||||
- ./.env:/home/safeuser/.env
|
||||
- ../data:/home/safeuser/psf-bch-api/production/data
|
||||
- ../data/logs:/home/safeuser/psf-bch-api/logs
|
||||
restart: always
|
||||
restart: always
|
||||
|
||||
|
||||
Reference in New Issue
Block a user