-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (67 loc) · 1.75 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
version: '3'
services:
django: &django
image: ghcr.io/meine-stadt-transparent/meine-stadt-transparent
container_name: django
volumes:
- ./.env:/app/.env
- ./log:/app/log
ports:
- 8000:8000
networks:
- mst_network
django_worker:
<<: *django
container_name: django_worker
ports: []
command: ["/app/.venv/bin/python", "/app/manage.py", "qcluster"]
mariadb:
image: mariadb:10
container_name: mariadb
volumes:
- mariadb_data:/var/lib/mysql
environment:
- MYSQL_DATABASE=meinestadttransparent
- MYSQL_USER=meinestadttransparent
- MYSQL_PASSWORD=changeme
- MYSQL_RANDOM_ROOT_PASSWORD=true
networks:
- mst_network
command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.9
container_name: elasticsearch
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- ELASTIC_PASSWORD=changeme
- xpack.security.enabled=true
- bootstrap.memory_lock=true
- cluster.routing.allocation.disk.threshold_enabled=false
- discovery.type=single-node
ulimits: # Elasticsearch needs those
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
networks:
- mst_network
minio:
image: minio/minio
container_name: minio
volumes:
- minio_data:/minio_data
environment:
MINIO_ACCESS_KEY: meinestadttransparent
MINIO_SECRET_KEY: changeme
ports:
- 9000:9000
networks:
- mst_network
command: server /minio_data
volumes:
mariadb_data:
elasticsearch_data:
minio_data:
networks:
mst_network: