Swag Multiple DNS provider

Hi there,

I’m currently trying to figure out how to make the swag container working with EXTRADOMAINS and DNS validation with 2 differents DNS Provider.
One is ovh, and the other is IONOS.
I did not find a way nor know if it is possible to set multiple dnsplugin.
Using only one domain works fine.

Is this even possible ?

My docker compose looks like:

services:
  swag:
    image: lscr.io/linuxserver/swag:latest
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
      - URL=firstdomain.com
      - SUBDOMAINS=wildcard
      - VALIDATION=dns
      - DNSPLUGIN=ovh
      - EMAIL=xxx@xxx.com
      - EXTRADOMAINS= *.secondomain.com, secondomain.com

    volumes:
      - /home/docker-omv/.config/swag:/config
    ports:
      - 443:443
    restart: unless-stopped

Thanks

Only one provider is supported pee instance

Do you any way I can handle it another way ?
Should I need an other instance of swag ? Won’t it be incompatible due to port mapping ?

Move everything under one account under one provider

You could do this

If you only have one public IP, yes.

Or you can do http validation