-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-test.yml
122 lines (110 loc) · 2.83 KB
/
docker-compose-test.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
120
121
122
services:
db:
image: ${REPO}/db
container_name: contactEZ_db
ports:
- "3307:3306"
mem_limit: 1g
env_file: "./external.env"
# if you want to persist data uncomment the following 2 lines... don't forget to create the directory mysql-data for sample
#volumes:
# - ./mysql-data:/var/lib/mysql
solr:
image: ${REPO}/solr
container_name: contactEZ_solr
command: -force
depends_on:
- db
mem_limit: 1g
ports:
- "8983:8983"
env_file: "./external.env"
# if you want to persist data uncomment the following 2 lines... and don't forget to create the directory
#volumes:
# - ./solr-data:/var/solr/data/cite-libre/data
mailpit:
image: axllent/mailpit:v1.18.3
container_name: contactEZ_mailpit
restart: unless-stopped
ports:
- 1080:8025
- 1025:1025
mem_limit: 1g
env_file: "./external.env"
environment:
- MP_MAX_MESSAGES=500
- MP_SMTP_AUTH_ACCEPT_ANY=1
- MP_SMTP_AUTH_ALLOW_INSECURE=1
matomo:
image: ${REPO}/matomo
container_name: contactEZ_matomo
ports:
- "80:80"
mem_limit: 1g
depends_on:
- solr
env_file: "./external.env"
keycloak:
image: ${REPO}/keycloak
container_name: contactEZ_keycloak
ports:
- "8081:8080"
mem_limit: 1g
depends_on:
- citelibre
env_file: "./external.env"
citelibre:
image: ${REPO}/ihm
container_name: contactEZ_citelibre
ports:
- 8080:8080
depends_on:
- solr
mem_limit: 1g
env_file: "./external.env"
environment:
- LUTECE_DB_USER
- LUTECE_DB_PWD
- LUTECE_DB_NAME
- LUTECE_DB_HOST
- LUTECE_DB_PORT
- LUTECE_MAIL_HOST
- LUTECE_MAIL_PORT
- LUTECE_MAIL_USER
- LUTECE_MAIL_PWD
- LUTECE_INTERNAL_KEYCLOAK=true
kibana:
image: ${REPO}/kibana
container_name: contactEZ_kibana
env_file: "./external.env"
environment:
- discovery.type=single-node
- server.publicBaseUrl=localhost
ports:
- 5601:5601
mem_limit: 1g
depends_on:
- elasticsearch
#volumes:
# - ./kibana/kibana.yml:/usr/share/kibana/config/kibana.yml
elasticsearch:
image: ${REPO}/elasticsearch
container_name: contactEZ_elasticsearch
env_file: "./external.env"
environment:
- ELASTIC_PASSWORD="*93n2US7fWog"
- discovery.type=single-node
- xpack.security.enabled=false
- ESJAVAOPTS=-Xmx1g
mem_limit: 1g
ports:
- 9200:9200
- 9300:9300
# volumes:
# - type: volume
# source: elasticsearch-data
# target: /usr/share/elasticsearch/data
# volumes:
# elasticsearch-data:
# citelibre-data:
# solr-data: