aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose-test.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-test.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 'docker-compose-test.yaml')
-rw-r--r--docker-compose-test.yaml23
1 files changed, 22 insertions, 1 deletions
diff --git a/docker-compose-test.yaml b/docker-compose-test.yaml
index 3a85a11..102ce34 100644
--- a/docker-compose-test.yaml
+++ b/docker-compose-test.yaml
@@ -3,12 +3,13 @@ services:
devourer:
image: devourer
build:
- context: .
+ context: ./devourer
networks:
- mainnet
- tikanet
depends_on:
- tika
+ - cargo
ports:
- "19019:80"
environment:
@@ -26,6 +27,26 @@ services:
- tikanet
cap_drop:
- ALL
+ cargo:
+ image: devourer-cargo
+ build:
+ context: ./devourer
+ networks:
+ - mainnet
+ ports:
+ - "127.0.0.1:8080:8080"
+ 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: