-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 936 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 936 Bytes
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
version: '3.8'
services:
elixirmind:
build: .
container_name: elixirmind-bot
volumes:
- ./data:/app/data
- ./models:/app/models
- ./config.json:/app/config.json:ro
- /tmp/.X11-unix:/tmp/.X11-unix:rw
environment:
- DISPLAY=${DISPLAY}
- ELIXIR_REAL_MODE=false
- ELIXIR_DEBUG=true
- ELIXIR_USE_RL=false
ports:
- "8501:8501" # Streamlit dashboard
networks:
- elixir-network
restart: unless-stopped
dashboard:
build: .
container_name: elixirmind-dashboard
command: streamlit run dashboard/app.py --server.port=8501 --server.address=0.0.0.0
volumes:
- ./data:/app/data
- ./dashboard:/app/dashboard
ports:
- "8502:8501"
networks:
- elixir-network
depends_on:
- elixirmind
restart: unless-stopped
networks:
elixir-network:
driver: bridge
volumes:
elixir-data:
elixir-models: