mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore: format whole repository with new configs
This commit is contained in:
@@ -3,11 +3,11 @@ import {
|
||||
APPLICATIONS_PATH,
|
||||
BASE_PATH,
|
||||
CERTIFICATES_PATH,
|
||||
DYNAMIC_TRAEFIK_PATH,
|
||||
LOGS_PATH,
|
||||
MAIN_TRAEFIK_PATH,
|
||||
MONITORING_PATH,
|
||||
SSH_PATH,
|
||||
DYNAMIC_TRAEFIK_PATH,
|
||||
MAIN_TRAEFIK_PATH,
|
||||
} from "../constants";
|
||||
|
||||
const createDirectoryIfNotExist = (dirPath: string) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { CreateServiceOptions } from "dockerode";
|
||||
import { docker } from "../constants";
|
||||
import { pullImage } from "../utils/docker/utils";
|
||||
import type { CreateServiceOptions } from "dockerode";
|
||||
export const initializePostgres = async () => {
|
||||
const imageName = "postgres:16";
|
||||
const containerName = "dokploy-postgres";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { CreateServiceOptions } from "dockerode";
|
||||
import { docker, REGISTRY_PATH } from "../constants";
|
||||
import { generateRandomPassword } from "../auth/random-password";
|
||||
import { REGISTRY_PATH, docker } from "../constants";
|
||||
import { pullImage } from "../utils/docker/utils";
|
||||
import { execAsync } from "../utils/process/execAsync";
|
||||
import { generateRandomPassword } from "../auth/random-password";
|
||||
|
||||
export const initializeRegistry = async (
|
||||
username: string,
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import path from "node:path";
|
||||
import { MAIN_TRAEFIK_PATH, DYNAMIC_TRAEFIK_PATH, docker } from "../constants";
|
||||
import { pullImage } from "../utils/docker/utils";
|
||||
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
||||
import { dump } from "js-yaml";
|
||||
import type { MainTraefikConfig } from "../utils/traefik/types";
|
||||
import type { FileConfig } from "../utils/traefik/file-types";
|
||||
import path from "node:path";
|
||||
import type { CreateServiceOptions } from "dockerode";
|
||||
import { dump } from "js-yaml";
|
||||
import { DYNAMIC_TRAEFIK_PATH, MAIN_TRAEFIK_PATH, docker } from "../constants";
|
||||
import { pullImage } from "../utils/docker/utils";
|
||||
import type { FileConfig } from "../utils/traefik/file-types";
|
||||
import type { MainTraefikConfig } from "../utils/traefik/types";
|
||||
|
||||
const TRAEFIK_SSL_PORT =
|
||||
Number.parseInt(process.env.TRAEFIK_SSL_PORT ?? "", 10) || 443;
|
||||
|
||||
Reference in New Issue
Block a user