aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-19 19:54:35 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-19 19:54:35 +0000
commitfd6f77c7ec5aad1d6fe15f42f681820d10f34b93 (patch)
tree22aec3ae1d7ff778a648cf35854bae2a25c5d27a /docker-compose.yaml
parentpush before a new branch (diff)
downloaddevourer-fd6f77c7ec5aad1d6fe15f42f681820d10f34b93.tar.gz
devourer-fd6f77c7ec5aad1d6fe15f42f681820d10f34b93.zip
restructing. added a new service to handle the downloading
Diffstat (limited to '')
-rw-r--r--docker-compose.yaml23
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: