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.
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";
|
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";
|