-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
63 lines (62 loc) · 1.65 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
59
60
61
62
63
version: "3.7"
services:
rabbit:
image: rabbitmq:3.13.2-management
container_name: NetSage_RabbitMQ
env_file: .env
restart: always
hostname: rabbit
volumes:
- ./data/rabbit:/var/lib/rabbitmq
ports:
- "15672:15672"
- "5671:5671"
- "5672:5672"
importer:
image: tacc/netsage_importer:v2.1.2
container_name: NetSage_Importer
env_file: .env
depends_on:
- rabbit
restart: always
volumes:
- ./data:/data
- ./data/importer_cache:/var/cache/netsage
- ./conf-logstash:/usr/share/logstash/pipeline/
labels:
ofelia.enabled: "true"
ofelia.job-exec.dataUpdate.schedule: "0 0 1 * * *"
ofelia.job-exec.dataUpdate.command: "/tmp/docker_init.sh"
logstash:
image: tacc/netsage_pipeline:v2.1.2
container_name: NetSage_Logstash
env_file: .env
depends_on:
- importer
restart: always
ports:
- "5044:5044"
volumes:
- ./conf-logstash:/usr/share/logstash/pipeline/
- ./conf-globus:/usr/share/logstash/globus/
- ./data:/data
- ./data/cache:/var/lib/netsage/
ofelia: ## Scheduler Task
image: mcuadros/ofelia:0.3.12
container_name: NetSage_Ofelia
command: daemon --docker
depends_on:
- importer
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
manager:
image: tacc/netsage_manager:v2.1.2
container_name: NetSage_Manager
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data/cache:/data/cache
- ./scripts:/scripts
entrypoint: ["/bin/sh","-c"]
command: ["/scripts/scireg_restart.sh"]