forked from Jahia/provisioning-tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (48 loc) · 1.16 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
version: '3.9'
services:
mariadb:
image: ${MARIADB_IMAGE}
deploy:
resources:
limits:
memory: 1gb
networks:
- stack
command: --max_allowed_packet=134217728 --transaction-isolation=READ-UNCOMMITTED --innodb-lock-wait-timeout=10
environment:
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
MYSQL_DATABASE: ${DB_DATABASE}
MYSQL_USER: ${DB_USER}
MYSQL_PASSWORD: ${DB_PASSWORD}
jahia:
image: ${JAHIA_IMAGE}
volumes:
- type: bind
source: ./localMount/
target: /provisioning
bind:
create_host_path: true
networks:
- stack
depends_on:
- mariadb
ports:
- ${JAHIA_PORTS}
deploy:
resources:
limits:
memory: 4gb
environment:
DB_VENDOR : mariadb
DBMS_TYPE: mariadb
DB_HOST: mariadb
DB_NAME: ${DB_DATABASE}
DB_USER: ${DB_USER}
DB_PASS: ${DB_PASSWORD}
OPERATING_MODE: ${OPERATING_MODE}
PROCESSING_SERVER: 'true'
MAX_RAM_PERCENTAGE: 95
SUPER_USER_PASSWORD : ${JAHIA_ROOT_PASSWORD}
EXECUTE_PROVISIONING_SCRIPT: ${EXECUTE_PROVISIONING_SCRIPT}
networks:
stack: