-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
75 lines (73 loc) · 1.96 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
version: '2'
services:
balancer:
build: balancer
ports:
- 80:80
- 192.168.125:443:443
- 192.168.1.104:443:444
- 192.168.1.104:15671:15671
command: /entrypoint.sh
volumes:
- ./drainware:/opt/drainware
- ./ddi:/ddi
- ./site.conf:/etc/nginx/conf.d/default.conf
- ./balancer/stunnel/stunnel.conf:/etc/stunnel/stunnel.conf
- ./balancer/stunnel/default.conf:/etc/default/stunnel4
- ./ssl-certs:/etc/ssl/certs:ro
networks:
- drainware-network
ddi:
build: ./php
command: /entrypoint.sh
volumes:
- ./drainware:/opt/drainware
- ./ddi:/ddi
networks:
- drainware-network
mongo:
image: mongo:3.7.1
networks:
- drainware-network
volumes:
- ./mongo/datadir:/data/db
mongo-import:
build: ./mongo-import
depends_on:
- mongo
networks:
- drainware-network
redis:
image: redis:3.2
volumes:
- ./redis/data_dir:/data
networks:
- drainware-network
rabbitmq:
build: ./rabbitmq
environment:
- RABBITMQ_USER=admin
- RABBITMQ_PASSWORD=drainware
- RABBITMQ_VHOST=rabbot.drainware.com
volumes:
- ./rabbitmq/rabbitmq-data:/var/lib/rabbitmq
ports:
- 15672:15672
- 5672:5672
networks:
- drainware-network
endpoint:
environment:
- LIC=SXFZ-4EX9-1F51-O7D5
- HOSTNAME=TEST_MACHINE_PC
- IP=192.168.1.23
- USERNAME=drainware
build: ./endpoint
command: /entrypoint.sh
volumes:
- ./ssl-certs:/tmp/certs:ro
networks:
- drainware-network
networks:
drainware-network:
driver: bridge