-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
107 lines (86 loc) · 1.82 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: '3.4'
services:
music_cleaner:
restart: always
build: ./tbot
stdin_open: true
tty: true
volumes:
- ./tbot/src:/home/node/src
environment:
- RMQ_USERNAME
- RMQ_PASSWORD
- RMQ_HOST
- TG_BOT_API_TOKEN
# depends_on:
# rabbitmq:
# condition: service_healthy
# rabbitmq:
# image: rabbitmq:3-management
# container_name: rabbitmq
# environment:
# - RABBITMQ_DEFAULT_USER=$RMQ_USERNAME
# - RABBITMQ_DEFAULT_PASS=$RMQ_PASSWORD
# ports:
# - "5672:5672"
# - "15672:15672"
# volumes:
# - ./rmq-data:/var/lib/rabbitmq
# healthcheck:
# test: rabbitmq-diagnostics -q ping
# interval: 10s
# timeout: 5s
# retries: 5
python-toolset:
build: python
restart: always
stdin_open: true
tty: true
environment:
- RMQ_USERNAME
- RMQ_PASSWORD
- RMQ_HOST
- TG_API_ID
- TG_API_HASH
volumes:
- ./python:/app
# depends_on:
# rabbitmq:
# condition: service_healthy
# neo4j:
# image: neo4j
# ports:
# - 7474:7474
# - 7687:7687
# volumes:
# - ./neo4j-data:/data
# restart: always
# healthcheck:
# test: wget http://localhost:7474 || exit 1
# interval: 1s
# timeout: 10s
# retries: 20
# start_period: 3s
tcurator:
build: ./tcurator/
restart: always
stdin_open: true
tty: true
volumes:
- ~/.m2:/root/.m2
- ./tcurator:/app
environment:
- RMQ_USERNAME
- RMQ_PASSWORD
- RMQ_HOST
- NEO4J_HOST
- NEO4J_USERNAME
- NEO4J_PASSWORD
# depends_on:
# rabbitmq:
# condition: service_healthy
# neo4j:
# condition: service_healthy
networks:
default:
driver: bridge