Merge pull request #2111 from Marukome0743/traefik

feat: bump Traefik v3.2.2 and add swarm network label
This commit is contained in:
Mauricio Siu
2025-08-23 19:50:50 -06:00
committed by GitHub
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import {
await initializeNetwork(); await initializeNetwork();
createDefaultTraefikConfig(); createDefaultTraefikConfig();
createDefaultServerTraefikConfig(); createDefaultServerTraefikConfig();
await execAsync("docker pull traefik:v3.1.2"); await execAsync("docker pull traefik:v3.2.2");
await initializeStandaloneTraefik(); await initializeStandaloneTraefik();
await initializeRedis(); await initializeRedis();
await initializePostgres(); await initializePostgres();
+1 -1
View File
@@ -13,7 +13,7 @@ export const TRAEFIK_PORT =
Number.parseInt(process.env.TRAEFIK_PORT!, 10) || 80; Number.parseInt(process.env.TRAEFIK_PORT!, 10) || 80;
export const TRAEFIK_HTTP3_PORT = export const TRAEFIK_HTTP3_PORT =
Number.parseInt(process.env.TRAEFIK_HTTP3_PORT!, 10) || 443; Number.parseInt(process.env.TRAEFIK_HTTP3_PORT!, 10) || 443;
export const TRAEFIK_VERSION = process.env.TRAEFIK_VERSION || "3.1.2"; export const TRAEFIK_VERSION = process.env.TRAEFIK_VERSION || "3.2.2";
export interface TraefikOptions { export interface TraefikOptions {
env?: string[]; env?: string[];
@@ -254,6 +254,9 @@ export const addDomainToCompose = async (
if (!labels.includes("traefik.docker.network=dokploy-network")) { if (!labels.includes("traefik.docker.network=dokploy-network")) {
labels.unshift("traefik.docker.network=dokploy-network"); labels.unshift("traefik.docker.network=dokploy-network");
} }
if (!labels.includes("traefik.swarm.network=dokploy-network")) {
labels.unshift("traefik.swarm.network=dokploy-network");
}
} }
} }