mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(traefik): add labels and swarm provider
This commit is contained in:
@@ -56,6 +56,9 @@ export const initializeTraefik = async ({
|
|||||||
Replicas: 1,
|
Replicas: 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Labels: {
|
||||||
|
"traefik.enable": "true",
|
||||||
|
},
|
||||||
EndpointSpec: {
|
EndpointSpec: {
|
||||||
Ports: [
|
Ports: [
|
||||||
{
|
{
|
||||||
@@ -171,6 +174,9 @@ export const createDefaultTraefikConfig = () => {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
|
swarm: {
|
||||||
|
exposedByDefault: false,
|
||||||
|
},
|
||||||
docker: {
|
docker: {
|
||||||
exposedByDefault: false,
|
exposedByDefault: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user