diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-09 14:27:22 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-09 19:53:31 +0300 |
commit | b74f0554b7a40f2481db8baf3c986516f522f127 (patch) | |
tree | e7cdf33851fa82b3e00d5804cd993943c4a0d3e5 /.travis/docker/docker-compose.yml | |
parent | add Travis tests (diff) | |
download | cgitize-b74f0554b7a40f2481db8baf3c986516f522f127.tar.gz cgitize-b74f0554b7a40f2481db8baf3c986516f522f127.zip |
Travis: add docker tests
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 |