aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-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: