forked from koii-network/task-X
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (38 loc) · 777 Bytes
/
docker-compose.yaml
File metadata and controls
42 lines (38 loc) · 777 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
version: '3.2'
services:
redis:
image: redis:alpine
container_name: redis
command: redis-server --appendonly yes
ports:
- 6379:6379
volumes:
- redis_data:/data/
restart: always
networks:
- task_net
task_node:
image: public.ecr.aws/koii-network/task_node:latest
command: yarn initialize-start
depends_on:
- redis
ports:
- '8080:8080'
env_file: .env-local
container_name: task_node
restart: always
links:
- redis:redis
networks:
- task_net
volumes:
- ./config/koii:/app/config
- ./data:/app/data
- ./namespace:/app/namespace
- ./dist:/app/executables
networks:
task_net:
name: task_net
driver: bridge
volumes:
redis_data: