-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (56 loc) · 1.63 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
version: "3"
services:
litfass-server:
image: aemaem/litfass:0.9.0
depends_on:
- litfass-postgres
- litfass-elasticsearch
restart: always
container_name: "litfass-server"
hostname: "litfass-server"
ports:
- "8080:8080"
environment:
- "JAVA_OPTS=-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/litfass/conf -XX:+PrintGCDetails -Xloggc:gc-log.vgc -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:InitialRAMFraction=2 -XX:MinRAMFraction=2 -XX:MaxRAMFraction=2 -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+UseStringDeduplication -Xmx128m"
networks:
- litfass
litfass-postgres:
image: postgres:11.1-alpine
restart: always
container_name: "litfass-postgresql"
hostname: "litfass-postgresql"
ports:
- "5432:5432"
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=litfass
networks:
- litfass
litfass-elasticsearch:
image: elasticsearch:6.5.1
container_name: "litfass-elasticsearch"
hostname: "litfass-elasticsearch"
ports:
- "9200:9200"
- "9300:9300"
environment:
- "ES_JAVA_OPTS=-Xmx256m -Xms256m"
- "discovery.type=single-node"
networks:
- litfass
litfass-grafana:
image: grafana/grafana:5.4.2
restart: always
container_name: "litfass-grafana"
hostname: "litfass-grafana"
ports:
- "3000:3000"
environment:
- GF_INSTALL_PLUGINS=vonage-status-panel,jdbranham-diagram-panel,grafana-piechart-panel
- GF_SECURITY_ADMIN_PASSWORD=admin
networks:
- litfass
networks:
litfass:
driver: bridge