Skip to content

A note on static IPs #1

@tonymcneil

Description

@tonymcneil

Nice write up!

Just an FYI as I've been looking into routing too.

Your README states:

A drawback is we need to give a static IP which points to traefik, which is not very handy.

(under the Add host entry to container heading).

I've recently noted that you can do this in a docker compose file:

extra_hosts:
      - "keycloak.my.domain:host-gateway"

Where host-gateway is the important part that avoids IP references. So far I've just tested this on linux running Docker Engine, so I'm hoping it'll work on all platforms / install mechanisms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions