services: omada-controller: image: ${IMAGE_NAME} restart: unless-stopped ulimits: nofile: soft: ${ULIMIT_SOFT:-4096} hard: ${ULIMIT_HARD:-8192} ports: - "${PORT_8088:-8088}:8088" - "${PORT_8043:-8043}:8043" - "${PORT_8843:-8843}:8843" - "${PORT_19810:-19810}:19810/udp" - "${PORT_27001:-27001}:27001/udp" - "${PORT_29810:-29810}:29810/udp" - "${PORT_RANGE_29811_29816:-29811-29816}:29811-29816" environment: - TZ=${TZ:-Etc/UTC} volumes: - ${DATA_VOLUME:-omada-data}:/opt/tplink/EAPController/data - ${LOG_VOLUME:-omada-logs}:/opt/tplink/EAPController/logs