-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
60 lines (60 loc) · 1.86 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
#
# This file is part of the Meeds project (https://meeds.io/).
# Copyright (C) 2020 Meeds Association
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
version: '2'
services:
web:
image: nginx:1.25-alpine
expose:
- "80"
ports:
- "80:80"
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf:ro
links:
- meeds
meeds:
image: ghcr.io/meeds-io/meeds/meeds-io:develop
environment:
MEEDS_PROXY_VHOST: localhost
MEEDS_PROXY_PORT: 80
MEEDS_PROXY_SSL: "false"
MEEDS_DB_NAME: meeds
MEEDS_DB_USER: meeds
MEEDS_DB_PASSWORD: my-secret-pw
MEEDS_ADDONS_LIST:
MEEDS_JVM_LOG_GC_ENABLED: "true"
MEEDS_ES_SCHEME: http
MEEDS_ES_HOST: es
MEEDS_ES_PORT: 9200
volumes:
- meeds_data:/srv/meeds
- meeds_logs:/var/log/meeds
es:
image: elasticsearch:8.14.3
volumes:
- search_data:/usr/share/elasticsearch/data:rw
environment:
- ES_JAVA_OPTS=-Xms2048m -Xmx2048m
- node.name=meeds
- cluster.name=meeds
- cluster.initial_master_nodes=meeds
- network.host=_site_
- xpack.security.enabled=false
volumes:
meeds_data:
meeds_logs:
search_data: