-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.cypress.yml
85 lines (77 loc) · 1.78 KB
/
docker-compose.cypress.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
services:
mariadb-test:
build:
context: .
dockerfile: dockerfiles/Dockerfile.mariadb-cypress
environment:
- MYSQL_PASSWORD
- MYSQL_USER
- MYSQL_ROOT_PASSWORD
hostname: kontext-mariadb-1
volumes:
- kontext_testdb:/var/lib/mysql
ports:
- "3306:3306"
networks:
- databases
healthcheck:
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 10s
retries: 5
kontext:
build:
dockerfile: dockerfiles/Dockerfile.kontext-cypress-jammy
volumes:
- ./scripts/install/conf/docker/config.cypress.xml:/opt/kontext/conf/config.xml
depends_on:
mariadb-test:
condition: service_healthy
networks:
- databases
rq-scheduler:
depends_on:
mariadb-test:
condition: service_healthy
redis:
condition: service_healthy
kontext:
condition: service_started
restart: always
rq-worker:
depends_on:
mariadb-test:
condition: service_healthy
redis:
condition: service_healthy
kontext:
condition: service_started
networks:
- databases
masm:
build: ${MASM_PATH}
networks:
- databases
volumes:
- ./scripts/install/conf/docker/masm-conf-cypress.json:/opt/masm/conf-docker.json
- corpora-data:/var/lib/manatee
camus:
build: ${CAMUS_PATH}
networks:
- databases
volumes:
- ./scripts/install/conf/docker/camus-conf-cypress.json:/opt/camus/conf.json
- kontext_testindex:/index.bleve
ports:
- "8787:8787"
volumes:
kontext_testdb:
driver_opts:
type: tmpfs
device: tmpfs
kontext_testindex:
driver_opts:
type: tmpfs
device: tmpfs
networks:
databases: {}