mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: init multi server feature
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { type ConnectionOptions, Queue } from "bullmq";
|
||||
|
||||
export const redisConfig: ConnectionOptions = {
|
||||
host: process.env.NODE_ENV === "production" ? "dokploy-redis" : "127.0.0.1",
|
||||
port: 6379,
|
||||
host: "31.220.108.27",
|
||||
password: "xYBugfHkULig1iLN",
|
||||
// host: process.env.NODE_ENV === "production" ? "dokploy-redis" : "127.0.0.1",
|
||||
port: 1233,
|
||||
};
|
||||
// TODO: maybe add a options to clean the queue to the times
|
||||
const myQueue = new Queue("deployments", {
|
||||
|
||||
Reference in New Issue
Block a user