blob: b7eb5f64031ae1bdd506bc568006ea4d1f109ceb (
plain) (
tree)
|
|
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
cap_drop:
- ALL
entrypoint: ["/docker-entrypoint.sh"]
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:
- CHOWN
- DAC_OVERRIDE
- SETGID
- SETUID
- NET_BIND_SERVICE
entrypoint: ["/cargo/cargo.py"]
networks:
mainnet:
tikanet:
volumes:
cargo-vault:
|