-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-light.yml
55 lines (53 loc) · 1.49 KB
/
docker-compose-light.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
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
koha:
image: koha/koha-testing:${KOHA_IMAGE}
depends_on:
- db
- memcached
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: light
TEST_DB_UPGRADE: ${TEST_DB_UPGRADE:-no}
KOHA_ELASTICSEARCH: ${KOHA_ELASTICSEARCH:-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
networks:
kohanet: