aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/docker/docker-compose.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-29 23:07:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-29 23:07:46 +0300
commit2c76f7ea9ac265ba9dcd2684074fc99dd7b2b0cb (patch)
tree4c84385c7bd3eeeeadc3cbdc3ef1489080e87418 /test/integration/docker/docker-compose.yml
parentdocker: change default paths (diff)
downloadcgitize-2c76f7ea9ac265ba9dcd2684074fc99dd7b2b0cb.tar.gz
cgitize-2c76f7ea9ac265ba9dcd2684074fc99dd7b2b0cb.zip
t/i/docker: reuse the root docker-compose.yml
Diffstat (limited to 'test/integration/docker/docker-compose.yml')
-rw-r--r--test/integration/docker/docker-compose.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/integration/docker/docker-compose.yml b/test/integration/docker/docker-compose.yml
index 2ac7dee..b5560e2 100644
--- a/test/integration/docker/docker-compose.yml
+++ b/test/integration/docker/docker-compose.yml
@@ -1,15 +1,16 @@
version: '3'
services:
- server:
+ git_server:
build:
context: .
dockerfile: server/Dockerfile
- image: server
- client:
- build:
- context: ../../..
- dockerfile: Dockerfile
- image: client
+ image: git_server
+ backend:
+ extends:
+ file: ../../../docker-compose.yml
+ service: backend
+ environment:
+ SCHEDULE: once
volumes:
- ./client/etc/:/etc/cgitize:ro
- "$SSH_AUTH_SOCK:/ssh-agent.sock"