aboutsummaryrefslogtreecommitdiffstats
path: root/tests/2-nodes.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/2-nodes.yml')
-rw-r--r--tests/2-nodes.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/2-nodes.yml b/tests/2-nodes.yml
new file mode 100644
index 000000000..ce87e5876
--- /dev/null
+++ b/tests/2-nodes.yml
@@ -0,0 +1,43 @@
+version: "3"
+services:
+ client:
+ build:
+ context: ..
+ dockerfile: ${DOCKERFILE}
+ args:
+ BASE_IMAGE: ${BASE_IMAGE}
+ privileged: true
+ stdin_open: true
+ hostname: client
+ tty: true
+ working_dir: /workspace
+ networks:
+ - kernel
+ volumes:
+ - ..:/workspace
+ entrypoint: [/bin/bash, -x, -c]
+ command:
+ - tail -f /dev/null
+
+ server:
+ build:
+ context: ..
+ dockerfile: ${DOCKERFILE}
+ args:
+ BASE_IMAGE: ${BASE_IMAGE}
+ privileged: true
+ stdin_open: true
+ hostname: server
+ tty: true
+ working_dir: /workspace
+ networks:
+ - kernel
+ volumes:
+ - ..:/workspace
+ entrypoint: [/bin/bash, -x, -c]
+ command:
+ - tail -f /dev/null
+
+networks:
+ kernel:
+ driver: bridge