File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Dokploy Docker Build
22
33on :
44 push :
5- branches : [main, canary, "feat/better-auth-2 "]
5+ branches : [main, canary, "1061-custom-docker-service-hostname "]
66
77env :
88 IMAGE_NAME : dokploy/dokploy
Original file line number Diff line number Diff line change 11import type { ConnectionOptions } from "bullmq" ;
22
33export const redisConfig : ConnectionOptions = {
4- host : process . env . NODE_ENV === "production" ? "dokploy-redis" : "127.0.0.1" ,
4+ host :
5+ process . env . NODE_ENV === "production"
6+ ? process . env . REDIS_HOST || "dokploy-redis"
7+ : "127.0.0.1" ,
58} ;
Original file line number Diff line number Diff line change 77 createDefaultTraefikConfig ,
88 initCronJobs ,
99 initializeNetwork ,
10- initializePostgres ,
11- initializeRedis ,
12- initializeTraefik ,
1310 sendDokployRestartNotifications ,
1411 setupDirectories ,
1512} from "@dokploy/server" ;
@@ -49,14 +46,7 @@ void app.prepare().then(async () => {
4946 await initializeNetwork ( ) ;
5047 createDefaultTraefikConfig ( ) ;
5148 createDefaultServerTraefikConfig ( ) ;
52- await initializePostgres ( ) ;
53- await initializeTraefik ( ) ;
54- await initializeRedis ( ) ;
55-
5649 initCronJobs ( ) ;
57-
58- // Timeout to wait for the database to be ready
59- await new Promise ( ( resolve ) => setTimeout ( resolve , 7000 ) ) ;
6050 await migration ( ) ;
6151 await sendDokployRestartNotifications ( ) ;
6252 }
You can’t perform that action at this time.
0 commit comments