• BAIRE Anthony's avatar
    allow using network prefixes in ALLGO_ALLOWED_IP_ADMIN · 40c2945a
    BAIRE Anthony authored
    Rationale: in development the ip address of the local machine is not
    easily predictible because when docker creates virtual networks it
    assigns the ip prefixes/addres dynamically by default (and i do not want
    to configure static addresses because of it may interefere and cause
    nasty side-effects if using docker for other projects on the same
    machine)
    
    Now in development we allow admin actions from 0.0.0.0/0 (which means
    all ip addresses)
    
    Note: I used the IPy package (whose purpose is to handle ranges of
    IP addresses)
    40c2945a
Dockerfile 914 Bytes