-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
85 lines (81 loc) · 1.91 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
83
84
85
services:
openhab:
image: openhab/openhab:latest
container_name: openhab
restart: always
privileged: true
ports:
- 8080:8080
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- data_openhab_conf:/openhab/conf
- data_openhab_addons:/openhab/addons
- data_openhab_userdata:/openhab/userdata
environment:
TZ: CET
OPENHAB_HTTP_PORT: 8080
CRYPTO_POLICY: "unlimited"
EXTRA_JAVA_OPTS: "-Duser.timezone=CET"
USER_ID: 999
GROUP_ID: 994
devices:
# Aeotec Z-Wave Stick
- /dev/ttyACM0:/dev/ttyACM0
networks:
app-nw:
aliases:
- openhab
cassandra:
image: cassandra:latest
container_name: cassandra
ports:
- "9042:9042"
environment:
- CASSANDRA_USER=admin
- CASSANDRA_PASSWORD=admin
volumes:
- data_cassandra:/var/lib/cassandra
networks:
app-nw:
aliases:
- cassandra
marvin:
hostname: marvin
container_name: marvin
image: geireilertsen2/marvin:latest
depends_on:
- cassandra
- openhab
ports:
- 9090:9090
restart: no
environment:
OPENHAB_URL: http://openhab:8080
OPENHAB_USERNAME: $OPENHAB_USERNAME
OPENHAB_PASSWORD: $OPENHAB_PASSWORD
GOOGLE_APIKEY: $GOOGLE_APIKEY
GOOGLE_CX: $GOOGLE_CX
OPENAI_APIKEY: $OPENAI_APIKEY
GITHUB_CLIENT_ID: $GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET: $GITHUB_CLIENT_SECRET
VECTORDB_ADDRESS: cassandra:9042
SPRING_PROFILES_ACTIVE: teach
volumes:
- /home/cnb:/home/cnb
networks:
app-nw:
aliases:
- marvin
volumes:
data_openhab_conf:
data_openhab_addons:
data_openhab_userdata:
data_postgresql:
data_cassandra:
networks:
app-nw:
internal: false
driver: bridge
driver_opts:
com.docker.network.bridge.name: app-openhab