refactor(traefik): add labels and swarm provider

This commit is contained in:
Mauricio Siu 2024-08-31 00:01:47 -06:00
parent 42ce03ea5a
commit d7b9402528

View File

@ -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,
},