forked from OpenOlitor/openolitor-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (75 loc) · 2.04 KB
/
docker-compose.yml
File metadata and controls
82 lines (75 loc) · 2.04 KB
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
version: '2.4'
services:
db:
image: mariadb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=ofCourseThisIsTrueForTheRootPasswordToo
volumes:
- ./data/mysql:/var/lib/mysql
- ./config/db/db_schema.sql:/docker-entrypoint-initdb.d/db_schema.sql
ports:
- "3306:3306"
s3:
image: minio/minio
restart: unless-stopped
volumes:
- ./data/s3:/data
environment:
- MINIO_ACCESS_KEY=miniouserallcsa
- MINIO_SECRET_KEY=thedefaultminiosecretneedstobechanged
command: server /data
ports:
- "9050:9000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
server:
image: openolitor/openolitor-server
restart: unless-stopped
volumes:
# server settings
- ./config/server/openolitor-server.conf:/etc/openolitor-server/application.conf
- ./config/server/openolitor-server-logback.xml:/etc/openolitor-server/logback.xml
- ./log/server/akka.log:/var/log/openolitor-server/akka.log
depends_on:
- db
- s3
ports:
- "9003:9003"
healthcheck:
test: ["CMD", "curl", "-f", "http://server:9003/m1/open/projekt"]
interval: 30s
timeout: 20s
retries: 3
client-admin:
image: openolitor/openolitor-client-admin
restart: unless-stopped
volumes:
- ./config/client/admin/config.js:/usr/share/nginx/html/environments/config.js
client-kundenportal:
image: openolitor/openolitor-client-kundenportal
restart: unless-stopped
volumes:
- ./config/client/kundenportal/config.js:/usr/share/nginx/html/environments/config.js
nginx:
image: nginx:latest
ports:
- "8080:9000"
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- client-admin
- client-kundenportal
- server
pdf-tool:
image: eugenmayer/jodconverter:rest
ports:
- "9040:8080"
smtp-proxy:
image: mailhog/mailhog
ports:
- "1025:1025"
- "8025:8025"