🪢 Refactoring elasticsearch configuration

This commit is contained in:
2022-01-14 09:10:55 -08:00
parent ee4b543991
commit 16a0a8c733
6 changed files with 14025 additions and 2640 deletions

View File

@@ -4,10 +4,7 @@ import chokidar from "chokidar";
import path from "path";
import fs from "fs";
import { IExtractionOptions, IFolderData } from "threetwo-ui-typings";
import { createServer } from "http";
import { Server, Socket } from "socket.io";
import { SocketIOMixin } from "../mixins/socket.io.mixin";
const SOCKET_HOST = process.env.DOCKER_HOST || `localhost`;
export const io = SocketIOMixin();
export default class ApiService extends Service {
public constructor(broker: ServiceBroker) {

View File

@@ -9,7 +9,7 @@ import {
const { Client } = require("@elastic/elasticsearch");
const client = new Client({
node: "http://ghost:9200",
node: "http://tower.local:9200",
auth: {
username: "elastic",
password: "password",