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:
parent
42ce03ea5a
commit
d7b9402528
@ -56,6 +56,9 @@ export const initializeTraefik = async ({
|
||||
Replicas: 1,
|
||||
},
|
||||
},
|
||||
Labels: {
|
||||
"traefik.enable": "true",
|
||||
},
|
||||
EndpointSpec: {
|
||||
Ports: [
|
||||
{
|
||||
@ -171,6 +174,9 @@ export const createDefaultTraefikConfig = () => {
|
||||
},
|
||||
}
|
||||
: {
|
||||
swarm: {
|
||||
exposedByDefault: false,
|
||||
},
|
||||
docker: {
|
||||
exposedByDefault: false,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user