Added TLS to kafka and mongo services

This commit is contained in:
2025-02-07 11:13:46 +00:00
parent 7ca996ccbb
commit d8460151fe
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ services:
- "traefik.tcp.routers.mongodb.rule=HostSNI(`mongo.luke-else.co.uk`)"
- "traefik.tcp.routers.mongodb.entrypoints=mongo"
- "traefik.tcp.routers.mongodb.service=mongodb"
- "traefik.tcp.routers.mongodb.tls=true" # Enable TLS
- "traefik.tcp.services.mongodb.loadbalancer.server.port=27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root