version: "3.7" services: devourer: image: devourer build: context: . networks: - mainnet - tikanet depends_on: - tika # - cargo ports: - "9009:80" environment: - TIKA_SERVER_ENDPOINT=http://tika:9998 - AUDIO_DUMP_DIR=/tmp - WIKI_SEARCH_URL=https://en.wikipedia.org/w/api.php - SERVER_DEPLOYMENT_TYPE=deployment - TIKA_CLIENT_ONLY=True - TRANSFORMERS_CACHE=/huggingface/cache/ cap_drop: - ALL entrypoint: ["/docker-entrypoint.sh"] volumes: - devourer-nltk-data:/root/nltk_data/ - devourer-hg-cache:/huggingface/cache/ - /etc/letsencrypt/live/mila.terminaldweller.com/privkey.pem:/etc/letsencrypt/live/mila.terminaldweller.com/privkey.pem - /etc/letsencrypt/live/mila.terminaldweller.com/fullchain.pem:/etc/letsencrypt/live/mila.terminaldweller.com/fullchain.pem tika: image: apache/tika:2.0.0 networks: - tikanet cap_drop: - ALL # cargo: # image: devourer-cargo # build: # context: ./devourer # networks: # - mainnet # environment: # - SERVER_PORT=8080 # - SERVER_VAULT=/cargo-vault # volumes: # - cargo-vault:/cargo-vault # cap_drop: # - ALL # cap_add: # - NET_BIND_SERVICE # entrypoint: ["/cargo/cargo.py"] networks: mainnet: tikanet: volumes: cargo-vault: devourer-nltk-data: devourer-hg-cache: