-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (56 loc) · 1.09 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
version: '3.8'
services:
redis:
image: redis:latest
container_name: redis
ports:
- "6379:6379"
networks:
- redis_network
slice-db:
image: slicedb/slice-db:v1.2
container_name: slice-db-1
environment:
- HOST=0.0.0.0
- PORT=6379
- ENABLE_PERSISTENCE=False
ports:
- "6359:6379"
networks:
- redis_network
huey-worker-app:
build:
context: .
dockerfile: Dockerfile.worker
container_name: huey-worker-app
image: slicedb/huey-worker:v1.0
environment:
- HUEY_REDIS=redis
- HUEY_REDIS_PORT=6379
- KV_HOST=slice-db
- KV_PORT=6379
ports:
- "8001:8000"
networks:
- redis_network
depends_on:
- redis
- slice-db
app:
build: .
container_name: fast-app
image: slicedb/fast-app:v1.1
environment:
- HUEY_REDIS=redis
- HUEY_REDIS_PORT=6379
- KV_HOST=slice-db
- KV_PORT=6379
ports:
- "8000:8000"
networks:
- redis_network
depends_on:
- redis
- slice-db
networks:
redis_network: