diff options
Diffstat (limited to '')
-rw-r--r-- | docker-compose.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml index bbbd0d1..b7eb5f6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,6 +9,7 @@ services: - tikanet depends_on: - tika + - cargo ports: - "9009:80" environment: @@ -26,6 +27,28 @@ services: - 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: |