aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/docker/docker-compose.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-31 17:39:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-31 17:39:46 +0300
commit8d2422274ae948f7412b6960597f5de91f3d8830 (patch)
tree88cc766fb5b0b11b685840dde7a896600583be6f /test/integration/docker/docker-compose.yml
parentrename "ssh" to "clone_via_ssh" in config (diff)
downloadcgitize-8d2422274ae948f7412b6960597f5de91f3d8830.tar.gz
cgitize-8d2422274ae948f7412b6960597f5de91f3d8830.zip
move all tests to test/
Diffstat (limited to 'test/integration/docker/docker-compose.yml')
-rw-r--r--test/integration/docker/docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/integration/docker/docker-compose.yml b/test/integration/docker/docker-compose.yml
new file mode 100644
index 0000000..c04bfb3
--- /dev/null
+++ b/test/integration/docker/docker-compose.yml
@@ -0,0 +1,16 @@
+version: '3'
+services:
+ server:
+ build:
+ context: .
+ dockerfile: server/Dockerfile
+ image: server
+ client:
+ build:
+ context: ../../..
+ dockerfile: Dockerfile
+ image: client
+ volumes:
+ - ./client/etc/:/etc/cgitize:ro
+ - "$SSH_AUTH_SOCK:/var/run/cgitize/ssh-agent.sock"
+ - ./client/output:/var/tmp/cgitize/output