forked from nnsW3/client-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.explore.yml
65 lines (65 loc) · 1.58 KB
/
docker-compose.explore.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
version: '3.8'
networks:
orbiter-network:
external: true
labels:
- "com.docker.compose.project=orbiter-explore"
services:
redis:
image: redis:latest
restart: always
volumes:
- ./runtime/redis_data:/data:rw
networks:
- orbiter-network
ports:
- '6389:6379'
command: ["redis-server", "--requirepass ${REDIS_PASSWORD}"]
crawler:
image: orbiter/explore-data-crawler:latest
build:
context: ./
cache_from:
- orbiter/clients
dockerfile: ./apps/explore-DataCrawler/Dockerfile.clients
labels:
- "com.docker.compose.project=orbiter-explore"
restart: always
command: ["node", 'main.js']
environment:
CONSUL_URL: '${CONSUL_URL}'
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
ports:
- '3000:3000'
depends_on:
- redis
- refinery
links:
- "redis:redis"
networks:
- orbiter-network
volumes:
- './runtime/crawler:/app/runtime'
- './logs/crawler:/app/logs'
refinery:
image: orbiter/explore-data-refinery:latest
labels:
- "com.docker.compose.project=orbiter-explore"
build:
context: ./
cache_from:
- orbiter/clients
dockerfile: ./apps/explore-DataRefinery/Dockerfile.clients
restart: always
environment:
CONSUL_URL: '${CONSUL_URL}'
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
depends_on:
- redis
links:
- "redis:redis"
networks:
- orbiter-network
volumes:
- './runtime/refinery:/app/runtime'
- './logs/refinery:/app/logs'