forked from docdoku/docdoku-plm-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
124 lines (110 loc) · 2.31 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: '3.7'
networks:
network:
driver: bridge
volumes:
db-volume:
es-volume:
conversion-volume:
docdoku-plm-server-volume:
external: true
services:
front:
image: docdoku/docdoku-plm-front:2.6.2
networks:
- network
ports:
- 8000:80
volumes:
- ./env/front.json:/usr/share/nginx/html/webapp.properties.json
back:
image: docdoku/docdoku-plm-server:2.6.2
env_file: ./env/back.env
volumes:
- ./keystore:/opt/payara41/keystore
- docdoku-plm-server-volume:/var/lib/docdoku/vault
- conversion-volume:/var/lib/docdoku/conversions
depends_on:
- db
- es
- smtp
networks:
- network
ports:
- 8001:8080
conversion:
image: docdoku/docdoku-plm-conversion-service:2.6.2
env_file: ./env/conversion.env
networks:
- network
volumes:
- docdoku-plm-server-volume:/data/vault
- conversion-volume:/data/conversions
depends_on:
- kafka
- back
es:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1
env_file: ./env/es.env
ulimits:
memlock:
soft: -1
hard: -1
networks:
- network
volumes:
- es-volume:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:6.6.1
env_file: ./env/kibana.env
networks:
- network
depends_on:
- es
ports:
- 8002:5601
db:
image: postgres:13.1-alpine
env_file: ./env/db.env
volumes:
- db-volume:/var/lib/mysql
networks:
- network
smtp:
image: mailhog/mailhog:v1.0.1
networks:
- network
ports:
- 1025:1025
- 8003:8025
adminer:
image: adminer:4.7.1-standalone
networks:
- network
ports:
- 8004:8080
depends_on:
- db
zookeeper:
image: wurstmeister/zookeeper:3.4.6
networks:
- network
kafka:
image: wurstmeister/kafka:2.13-2.7.0
env_file: ./env/kafka.env
networks:
- network
depends_on:
- zookeeper
ssl-proxy:
image: nginx:1.19.1-alpine
volumes:
- ./proxy/ssl:/etc/nginx/ssl
- ./proxy/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 9000:443
networks:
- network
depends_on:
- front
- back