I'm running elasticsearch for local development in a docker container and disabling xpack explicitely, yet, every x days the container locks itself because the xpack license exprires, elastic stops working
I'm disabling xpack through environment variables in my docker-compose.yml as such
elasticsearch:
  image: docker.elastic.co/elasticsearch/elasticsearch:5.5.2
  # image: elasticsearch:5.2.2
  environment:
    - http.host=0.0.0.0
    - transport.host=127.0.0.1
    - XPACK_SECURITY_ENABLED=false
    - xpack.security.enabled=false
  volumes:
    - "$DATADIR/data:/usr/share/elasticsearch/data"
  ports:
    - "9200:9200"
    - "9300:9300"
still, xpack license kills my container

this is super annoying, how can I get rid of xpack all together?