-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
52 lines (51 loc) · 1.15 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
# ora node docker-compose
version: '3'
services:
confirm:
image: oraprotocol/tora:confirm
container_name: ora-tora
depends_on:
- redis
- openlm
command:
- "--confirm"
env_file:
- .env
environment:
REDIS_HOST: 'redis'
REDIS_PORT: 6379
CONFIRM_MODEL_SERVER_13: 'http://openlm:5000/'
networks:
- private_network
redis:
image: oraprotocol/redis:latest
container_name: ora-redis
restart: always
networks:
- private_network
openlm:
image: oraprotocol/openlm:latest
container_name: ora-openlm
restart: always
networks:
- private_network
diun:
image: crazymax/diun:latest
container_name: diun
command: serve
volumes:
- "./data:/data"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- "TZ=Asia/Shanghai"
- "LOG_LEVEL=info"
- "LOG_JSON=false"
- "DIUN_WATCH_WORKERS=5"
- "DIUN_WATCH_JITTER=30"
- "DIUN_WATCH_SCHEDULE=0 0 * * *"
- "DIUN_PROVIDERS_DOCKER=true"
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
restart: always
networks:
private_network:
driver: bridge