-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
42 lines (39 loc) · 924 Bytes
/
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
version: "3.7"
services:
bot:
image: peterwilli/thingy:latest
restart: unless-stopped
volumes:
- ./thingy_data:/opt/thingy/data
logging:
driver: "json-file"
options:
max-size: "5m"
depends_on:
redis:
condition: service_healthy
hydrolane:
# Change this if needed
image: peterwilli/hydrolane:cuda11.7-cudnn8-devel
environment:
REDIS_URL: redis://redis:6379
RUST_LOG: debug
logging:
driver: "json-file"
options:
max-size: "5m"
depends_on:
redis:
condition: service_healthy
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
redis:
image: redis:7-alpine
command: 'redis-server --save "" --appendonly no'
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]