🔧 WIP fixing the socket errors in docker-compose on portainer

This commit is contained in:
2021-11-01 00:08:47 -07:00
parent 124a88cb2c
commit 08811e5128
2 changed files with 26 additions and 21 deletions

View File

@@ -11,34 +11,39 @@ export const hostURIBuilder = (options: Record<string, string>): string => {
export const COMICBOOKINFO_SERVICE_URI = hostURIBuilder({
protocol: "http",
host: process.env.DOCKER_HOST || "localhost",
// host: process.env.DOCKER_HOST || "localhost",
host: "localhost",
port: "3080",
apiPath: "/api/comicvine",
});
export const API_BASE_URI = hostURIBuilder({
protocol: "http",
host: process.env.DOCKER_HOST || "localhost",
host: "localhost",
// host: process.env.DOCKER_HOST || "localhost",
port: "8050",
apiPath: "/api",
});
export const IMPORT_SERVICE_HOST = hostURIBuilder({
protocol: "http",
host: process.env.DOCKER_HOST || "localhost",
// host: process.env.DOCKER_HOST || "localhost",
host: "localhost",
port: "3000",
apiPath: ``,
});
export const IMPORT_SERVICE_BASE_URI = hostURIBuilder({
protocol: "http",
host: process.env.DOCKER_HOST || "localhost",
// host: process.env.DOCKER_HOST || "localhost",
host: "localhost",
port: "3000",
apiPath: "/api/import",
});
export const SOCKET_BASE_URI = hostURIBuilder({
protocol: "http",
host: process.env.LIBRARY_SOCKET_HOST || "localhost",
// host: process.env.LIBRARY_SOCKET_HOST || "localhost",
host: "localhost",
port: "3001",
apiPath: `/`,
});