diff options
Diffstat (limited to '.travis/docker/docker-compose.yml')
-rw-r--r-- | .travis/docker/docker-compose.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis/docker/docker-compose.yml b/.travis/docker/docker-compose.yml new file mode 100644 index 0000000..2b27bdd --- /dev/null +++ b/.travis/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/cgit-repos:ro + - "$SSH_AUTH_SOCK:/var/run/cgit-repos/ssh-agent.sock" + - ./client/var/output:/var/tmp/cgit-repos/output |