-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
47 lines (39 loc) · 1013 Bytes
/
compose.yaml
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
version: "3.8"
networks:
es_net:
volumes:
es_data:
# # Secrets: uncomment to use a secret to store the Elasticsearch password
# secrets:
# memoria_elastic_password:
# external: true
services:
memoria:
image: ghcr.io/sidneys1/memoria
build:
context: "."
dockerfile: Containerfile
secrets:
- memoria_elastic_password
environment:
- "MEMORIA_ELASTIC_HOST=${ELASTIC_HOST:-http://elasticsearch:9200/}"
- "MEMORIA_ELASTIC_USER=${ELASTIC_USER:-elastic}"
- "MEMORIA_ELASTIC_PASSWORD=${ELASTIC_PASSWORD:-insecure}"
depends_on:
- elasticsearch
networks:
- es_net
volumes:
- "./data/:/data:rw"
ports:
- "80:80"
elasticsearch:
profiles: [elasticsearch]
image: docker.elastic.co/elasticsearch/elasticsearch:8.13.4
networks:
- es_net
environment:
- "discovery.type=single-node"
- "ELASTIC_PASSWORD=${ELASTIC_PASSWORD:-insecure}"
volumes:
- "es_data:/usr/share/elasticsearch/data:rw"