Allowlist IP Addresses for Administrators
The first time, you need to add at least one IP address for the superadmin.
After this, add the new environment variable USE_ADMIN_WHITE_LIST: 1
in the roles service:
roles:
restart: always
image: gitlab.tunex.io:5050/marionette-develop/core/roles:latest
environment:
USE_ADMIN_WHITE_LIST: 1
BASE_URL: "https://dev.marionette.dev"
labels:
- "traefik.http.routers.puppeteerroles.rule=Host(`dev.marionette.dev`) && PathPrefix(`/components/roles`)"
- "traefik.enable=true"
- "traefik.http.services.puppeteerroles.loadbalancer.server.port=3000"
- "traefik.http.routers.puppeteerroles.entrypoints=websecure"
- "traefik.http.routers.puppeteerroles.tls=true"
- "traefik.http.routers.puppeteerroles.tls.certresolver=myresolver"
- "traefik.http.routers.puppeteerroles.middlewares=secureheaders"
To disable this feature, set the variable value to 0.
Â