-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
57 lines (53 loc) · 1.31 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: "3"
services:
uio:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/src:z
networks:
- cerebrum
working_dir: /src/testsuite/docker
depends_on:
- db
environment:
- DOCKER_ROOT_DIR=/src/testsuite/docker
- TEST_CONFIG_DIR=/src/testsuite/docker/test-config
- CEREBRUM_CONFIG_DIR=/src/testsuite/docker/cerebrum_config
- DB_USER=postgres
- DB_PASS=postgres
- DB_HOST=db
- INST=uio
- DB_NAME=cerebrum_uio
command: /src/testsuite/docker/container-scripts/generate-test-reports.sh
uia:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/src:z
networks:
- cerebrum
working_dir: /src/testsuite/docker
depends_on:
- db
environment:
- DOCKER_ROOT_DIR=/src/testsuite/docker
- TEST_CONFIG_DIR=/src/testsuite/docker/test-config
- CEREBRUM_CONFIG_DIR=/src/testsuite/docker/cerebrum_config
- DB_USER=postgres
- DB_PASS=postgres
- DB_HOST=db
- INST=uia
- DB_NAME=cerebrum_uia
command: /src/testsuite/docker/container-scripts/generate-test-reports.sh
db:
build:
context: .
dockerfile: Dockerfile-db
networks:
- cerebrum
networks:
cerebrum:
driver: bridge