-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.argilla.yml
55 lines (51 loc) · 1.47 KB
/
docker-compose.argilla.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
services:
argilla:
image: argilla/argilla-server:v1.26.1
container_name: argilla_server
restart: unless-stopped
ports:
- "6900:6900"
environment:
ARGILLA_ELASTICSEARCH: http://elasticsearch:9200
# Opt-out for telemetry https://docs.argilla.io/en/latest/reference/telemetry.html
ARGILLA_ENABLE_TELEMETRY: 0
# Set user configuration https://docs.argilla.io/en/latest/getting_started/installation/configurations/user_management.html
ARGILLA_LOCAL_AUTH_USERS_DB_FILE: /config/.users.yaml
volumes:
- $PWD/src/argilla/.users.yaml:/config/.users.yaml
networks:
- argilla
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.5.3
environment:
- node.name=elasticsearch
- cluster.name=es-argilla-local
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- cluster.routing.allocation.disk.threshold_enabled=false
- xpack.security.enabled=false
ulimits:
memlock:
soft: -1
hard: -1
networks:
- argilla
ports:
- "9200:9200"
- "9300:9300"
volumes:
- elasticdata:/usr/share/elasticsearch/data/
kibana:
image: docker.elastic.co/kibana/kibana:8.5.3
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: '["http://elasticsearch:9200"]'
networks:
- argilla
networks:
argilla:
driver: bridge
volumes:
elasticdata: