-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
76 lines (74 loc) · 2.08 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '3'
services:
db:
image: ${DB_IMAGE:-mariadb:10.5}
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: koha_kohadev
MYSQL_USER: koha_kohadev
MYSQL_PASSWORD: password
networks:
- kohanet
es:
image: koha/elasticsearch-icu:6.x
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
# - xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
networks:
- kohanet
koha:
image: koha/koha-testing:${KOHA_IMAGE}
depends_on:
- db
- es
- memcached
- selenium
cap_add:
- ALL
volumes:
- ${SYNC_REPO}:/kohadevbox/koha
tmpfs:
- /cover_db
- /tmp
env_file:
- .env
environment:
COVERAGE: ${COVERAGE}
CPAN: ${CPAN:-no}
RUN_TESTS_AND_EXIT: ${RUN_TESTS_AND_EXIT}
LOCAL_USER_ID: ${LOCAL_USER_ID}
TEST_SUITE: ${TEST_SUITE:-full}
TEST_DB_UPGRADE: ${TEST_DB_UPGRADE:-no}
KOHA_ELASTICSEARCH: ${KOHA_ELASTICSEARCH:-no}
SKIP_CYPRESS_CHOWN: ${SKIP_CYPRESS_CHOWN:-no}
ulimits:
nofile:
soft: 65536
hard: 65536
networks:
kohanet:
aliases:
- "${KOHA_INTRANET_PREFIX}${KOHA_INSTANCE}${KOHA_INTRANET_SUFFIX}${KOHA_DOMAIN}"
- "${KOHA_OPAC_PREFIX}${KOHA_INSTANCE}${KOHA_OPAC_SUFFIX}${KOHA_DOMAIN}"
ports:
- "8080:8080"
- "8081:8081"
memcached:
image: ${MEMCACHED_IMAGE:-memcached}
command: memcached -m 64m
networks:
- kohanet
selenium:
image: selenium/standalone-firefox:3
networks:
- kohanet
shm_size: 1gb
networks:
kohanet: