-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
64 lines (59 loc) · 2.06 KB
/
docker-compose.yaml
File metadata and controls
64 lines (59 loc) · 2.06 KB
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
version: "3.9"
services:
argilla:
image: argilla/argilla-server:latest
restart: unless-stopped
ports:
- "6900:6900"
environment:
ARGILLA_HOME_PATH: /var/lib/argilla
ARGILLA_ELASTICSEARCH: http://elasticsearch:9200
# ARGILLA_ENABLE_TELEMETRY: 0 # Opt-out for telemetry https://docs.argilla.io/en/latest/reference/telemetry.html
# 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}/.users.yaml:/config/.users.yaml
# DEFAULT_USER_ENABLED: false # Uncomment this line to disable the creation of the default user
# DEFAULT_USER_PASSWORD: custom-password # Uncomment this line to set a custom password for the default user
# DEFAULT_USER_API_KEY: custom-api-key # Uncomment this line to set a custom api-key for the default user
networks:
- argilla
volumes:
# ARGILLA_HOME_PATH is used to define where Argilla will save it's application data.
# If you change ARGILLA_HOME_PATH value please copy that same value to argilladata volume too.
- argilladata:/var/lib/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:
argilladata:
elasticdata: