This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
119 lines (111 loc) · 3.33 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: '3.6'
services:
jahia-next:
image: jahia/${JAHIA_REPO}:${JAHIA_VERSION}
hostname: jahia.my.local
container_name: jahia-next
env_file:
- .env.local
environment:
JPDA: "true"
TZ: ${TZ}
EXECUTE_PROVISIONING_SCRIPT: ${EXECUTE_PROVISIONING_SCRIPT}
CATALINA_OPTS: -XX:NativeMemoryTracking=detail
YOURKIT_ACTIVATED: "false"
ports:
- "8080:8080"
- "8000:8000"
- "8101:8101"
- "9229:9229"
- "10001:10001"
volumes:
- ./provisioning:/var/jahia/patches/remote
networks:
- stack
elasticsearch:
container_name: elasticsearch
image: '${ELASTICSEARCH_IMAGE}'
hostname: elasticsearch.my.local
environment:
- node.name=elasticsearch.my.local
- cluster.name=my-cluster
- cluster.initial_master_nodes=elasticsearch.my.local
- discovery.seed_hosts=
deploy:
resources:
limits:
memory: 2G
ports:
- '9200:9200'
ulimits:
memlock:
soft: -1
hard: -1
networks:
- stack
jcustomer:
image: '${JCUSTOMER_IMAGE}'
hostname: jcustomer.my.local
container_name: jcustomer
networks:
- stack
depends_on:
- elasticsearch
environment:
unomi_env_var_UNOMI_ELASTICSEARCH_ADDRESSES: elasticsearch.my.local:9200
unomi_env_var_UNOMI_ELASTICSEARCH_CLUSTERNAME: docker-cluster
unomi_env_var_UNOMI_ELASTICSEARCH_INDEXPREFIX: ${JCUSTOMER_INDEXPREFIX}
unomi_env_var_UNOMI_CLUSTER_INTERNAL_ADDRESS: https://jcustomer.my.local:9443
unomi_env_var_JAVA_MAX_MEM: 2G
unomi_env_var_UNOMI_ROOT_PASSWORD: jcustomerP@55
unomi_env_var_UNOMI_THIRDPARTY_PROVIDER1_KEY: 670c26d1cc413346c3b2fd9ce65dab41
unomi_env_var_UNOMI_THIRDPARTY_PROVIDER1_IPADDRESSES: 172.24.24.0/24,::1,127.0.0.1
unomi_env_var_UNOMI_PROFILE_COOKIE_DOMAIN: .my.local
unomi_env_var_KARAF_OPTS: "-Dunomi.autoStart=true"
unomi_env_var_UNOMI_CLUSTER_PUBLIC_ADDRESS: http://jcustomer.my.local:8181
KARAF_OPTS: "-Dunomi.autoStart=true"
UNOMI_ELASTICSEARCH_ADDRESSES: elasticsearch.my.local:9200
UNOMI_ELASTICSEARCH_CLUSTERNAME: docker-cluster
UNOMI_ELASTICSEARCH_INDEXPREFIX: ${JCUSTOMER_INDEXPREFIX}
UNOMI_CLUSTER_INTERNAL_ADDRESS: https://jcustomer.my.local:9443
UNOMI_ROOT_PASSWORD: jcustomerP@55
UNOMI_THIRDPARTY_PROVIDER1_KEY: 670c26d1cc413346c3b2fd9ce65dab41
UNOMI_THIRDPARTY_PROVIDER1_IPADDRESSES: 172.24.24.0/24,::1,127.0.0.1
UNOMI_PROFILE_COOKIE_DOMAIN: .my.local
MAXMIND_KEY: hYZIvpxdi8Ea647J
UNOMI_CLUSTER_PUBLIC_ADDRESS: http://jcustomer.my.local:8181
KARAF_DEBUG: ${KARAF_DEBUG}
JAVA_MAX_MEM: 2G
ports:
- 8181:8181
- 9443:9443
- 5005:5005
- 8102:8102
hq:
container_name: hq
image: elastichq/elasticsearch-hq
ports:
- 5001:5000
networks:
- stack
vercel:
container_name: vercel
hostname: vercel.my.local
image: next:latest
ports:
- 3000:3000
environment:
DEV: ${NEXT_DEV}
JAHIA_BASE_URL: ${JAHIA_BASE_URL}
volumes:
- ./pages:/next/pages
- ./templates:/next/templates
- ./components:/next/components
- ./lib:/next/lib
- ./node_modules/@jahia:/next/node_modules/@jahia
networks:
- stack
volumes:
jahia-data:
networks:
stack: