This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/ipfs-api/src/consts.ts

13 lines
653 B
TypeScript
Raw Normal View History

2021-09-17 14:10:54 +00:00
export const API_HOSTNAME = process.env.API_HOSTNAME || "0.0.0.0";
export const API_PORT = process.env.API_PORT || "3100";
export const UPLOAD_PATH = process.env.UPLOAD_PATH || "/tmp";
export const IPFS_INFURA_API =
process.env.IPFS_INFURA_API || "https://ipfs.infura.io:5001";
export const IPFS_GATEWAY =
process.env.IPFS_GATEWAY || "https://cloudflare-ipfs.com/ipfs/";
export const SKYNET_PORTAL = process.env.SKYNET_PORTAL || "https://siasky.net";
export const MONGO_CONNECTIONSTRING =
process.env.MONGO_CONNECTIONSTRING ||
"mongodb://root:password@ipfs-mongo:27017";
export const MONGO_DBNAME = process.env.MONGO_DBNAME || "ipfs-to-skynet";