version: '3' | |
services: | |
gerrit-01: | |
build: | |
context: gerrit | |
networks: | |
- gerrit-net | |
volumes: | |
- "gerrit-site-etc:/var/gerrit/etc" | |
run_tests: | |
build: run_tests | |
networks: | |
- gerrit-net | |
volumes: | |
- "../../:/depends_on:ro" | |
- "gerrit-site-etc:/server-ssh-key:ro" | |
depends_on: | |
- gerrit-01 | |
environment: | |
- GERRIT_HOST=gerrit-01 | |
networks: | |
gerrit-net: | |
driver: bridge | |
volumes: | |
gerrit-site-etc: |