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

10 lines
528 B
TypeScript
Raw Normal View History

2021-09-27 18:21:44 +00:00
export const API_HOSTNAME = "0.0.0.0";
export const API_PORT = "3100";
export const UPLOAD_PATH = "/tmp";
export const IPFS_INFURA_API = "https://ipfs.infura.io:5001";
2021-10-01 12:35:54 +00:00
export const IPFS_INTERNAL_API = "http://10.10.10.57:5001";
2021-09-27 18:21:44 +00:00
export const IPFS_GATEWAY = "https://cloudflare-ipfs.com/ipfs/";
export const SKYNET_PORTAL = "https://siasky.net";
2021-09-27 17:54:53 +00:00
export const MONGO_CONNECTIONSTRING = `mongodb://${process.env.IPFS_MONGO_USERNAME}:${process.env.IPFS_MONGO_PASSWORD}@ipfs-mongo:27017`;
export const MONGO_DBNAME = "ipfs-to-skynet";