forked from Roboy/ravestate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (79 loc) · 2.24 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
74
75
76
77
78
79
80
81
82
version: '2.1'
services:
rs-linux:
image: realitivity/ravestate
container_name: rs
build:
context: .
dockerfile: Dockerfile
network_mode: host
volumes:
- .:/ravestate
- ./db/neo4j:/var/lib/neo4j/data/databases
- ./db/redis:/redis_db
devices:
- /dev/snd:/dev/snd
- /dev/video0:/dev/video0
ports:
- "10002:10002"
- "9000:9000"
- "9001:9001"
- "8088:8088"
- "5000:5000"
- "4200:4200"
- "42424:42424"
- "7687:7687"
- "7474:7474"
environment:
- PYTHONPATH=$PYTHONPATH:/ravestate/modules
- PYTHONUNBUFFERED=1
- NEO4J_ADDRESS=bolt://localhost:7687
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=test
- REDIS_HOST=localhost
- REDIS_PASSWORD=
# - FACEORACLE_VIDEO_DEVICE=/ravestate/resources/obama.mp4
- FACEORACLE_VIDEO_DEVICE=0
# After starting container, attach console and enter python3 -m ravestate [...]
# This enables "hot reload" in the running container because the source directory is mounted
tty: true
stdin_open: true
entrypoint:
- /ravestate/docker-entrypoint.sh
rs-macos:
image: realitivity/ravestate
container_name: rs
build:
context: .
dockerfile: Dockerfile
network_mode: bridge
volumes:
- .:/ravestate
- ./db/neo4j:/var/lib/neo4j/data/databases
- ./db/redis:/redis_db
ports:
- "10002:10002"
- "9000:9000"
- "9001:9001"
- "8088:8088"
- "5000:5000"
- "4200:4200"
- "42424:42424"
- "7687:7687"
- "7474:7474"
environment:
- PYTHONPATH=$PYTHONPATH:/ravestate/modules
- PYTHONUNBUFFERED=1
- NEO4J_ADDRESS=bolt://localhost:7687
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=test
- REDIS_HOST=localhost
- REDIS_PASSWORD=
# - FACEORACLE_VIDEO_DEVICE=/ravestate/resources/obama.mp4
- FACEORACLE_VIDEO_DEVICE=rtmp://host.docker.internal/live/faceoracle
# After starting container, attach console and enter python3 -m ravestate [...]
# This enables "hot reload" in the running container because the source directory is mounted
tty: true
stdin_open: true
entrypoint:
- /ravestate/docker-entrypoint.sh