forked from OpenOlitor/openolitor-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
90 lines (82 loc) · 2.24 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
90 lines (82 loc) · 2.24 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
83
84
85
86
87
88
89
90
version: '3.7'
services:
db:
image: mariadb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=AaFpqD6uCY5F
volumes:
- ./data/mysql:/var/lib/mysql
- ./config/db/db_schema.dev.sql:/docker-entrypoint-initdb.d/db_schema.sql
ports:
- "3306:3306"
s3:
image: minio/minio:RELEASE.2018-07-31T02-11-47Z
restart: unless-stopped
volumes:
- ./data/s3:/data
environment:
- MINIO_ACCESS_KEY=openolitor
- MINIO_SECRET_KEY=uGuRR53g4uR6c8R4yCxfNwFF
command: server /data
## depending on network setup
ports:
- "9050:9000"
healthcheck:
test: ["CMD", "curl", "-f", "http://s3:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
server:
image: openolitor/openolitor-server:latest
restart: unless-stopped
volumes:
# server settings
- ./config/server/openolitor-server.dev.conf:/etc/openolitor-server/application.conf
- ./config/server/openolitor-server-logback.xml:/etc/openolitor-server/logback.xml
- ./log/server/:/var/log/openolitor-server/
depends_on:
- db
- s3
ports:
- "9003:9003"
healthcheck:
test: ["CMD", "curl", "-f", "http://server:9003/csa1/open/projekt"]
interval: 30s
timeout: 20s
retries: 3
client-admin:
image: openolitor/openolitor-client-admin:2.4.0
ports:
- "9100:80"
restart: unless-stopped
volumes:
- ./config/client/admin/config.dev.js:/usr/share/nginx/html/environments/config.js
## depending on network setup
client-kundenportal:
image: openolitor/openolitor-client-kundenportal:2.4.0
ports:
- "9110:80"
restart: unless-stopped
volumes:
- ./config/client/kundenportal/config.dev.js:/usr/share/nginx/html/environments/config.js
nginx:
image: nginx:latest
ports:
- "80:9000"
volumes:
- ./config/nginx/nginx.dev.conf:/etc/nginx/nginx.conf
- ./config/nginx/smtp-proxy-htpasswd:/etc/nginx/htpasswd
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"