version: '2.1' services: admin: image: duosecurity/network-gateway@sha256:6f06a54da24cd45e95badc1bb2685e05c1442e7f083391e0f5d25781b1e55660 environment: - "ENABLE_HA=1" - REDIS_HOST - REDIS_PORT - REDIS_AUTH - REDIS_CA_CERTS - REDIS_USE_SSL ports: - "8443:443" container_name: network-gateway-admin restart: always ulimits: nofile: soft: 65536 hard: 65536 logging: driver: json-file options: max-size: "50m" max-file: "20"