services: word2sim: build: . container_name: word2sim # uncomment to use this port # ports: # - "8000:8000" environment: MODEL_NAME: word2vec-google-news-300 volumes: - gensim-cache:/data/gensim-cache # mount a locally trained vectors.bin instead of downloading: # - ./vectors.bin:/models/vectors.bin:ro # and set MODEL_PATH: /models/vectors.bin above restart: unless-stopped volumes: gensim-cache: