-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
104 lines (97 loc) · 2.76 KB
/
docker-compose.yml
File metadata and controls
104 lines (97 loc) · 2.76 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: '3.8'
services:
api-template:
container_name: plurish-api-template
image: plurish/api/template
build:
context: .
dockerfile: ./src/Api/Dockerfile
args:
KEYVAULT_URL: https://kv-plurish-dev.vault.azure.net/
ports:
- 8080:8080
- 8081:8081
restart: unless-stopped
networks:
- plurish
elasticsearch:
container_name: plurish-elastic
image: docker.elastic.co/elasticsearch/elasticsearch:8.12.2
volumes:
- elastic-data:/usr/share/elasticsearch/data
environment:
- cluster.name=plurish-elastic
- discovery.type=single-node
- xpack.security.enabled=false
- xpack.security.enrollment.enabled=false
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- 9200:9200
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
deploy:
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
networks:
- plurish
kibana:
container_name: plurish-kibana
image: docker.elastic.co/kibana/kibana:8.12.2
volumes:
- kibana-data:/usr/share/elasticsearch/data
restart: unless-stopped
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
xpack.fleet.agents.tlsCheckDisabled: true
depends_on:
- elasticsearch
networks:
- plurish
prometheus:
container_name: plurish-prometheus
image: prom/prometheus:v2.50.1
volumes:
- ../prometheus.yaml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
depends_on:
- api-template
ports:
- 9090:9090
networks:
- plurish
# db-log:
# container_name: plurish-db-log
# image: mcr.microsoft.com/mssql/server:2022-latest
# user: root
# environment:
# ACCEPT_EULA: Y
# MSSQL_SA_PASSWORD: sqlserver2024!
# volumes:
# - log:/var/opt/mssql/data
# ports:
# - 1433:1433
# networks:
# - plurish
volumes:
elastic-data:
name: plurish-elastic
kibana-data:
name: plurish-kibana
prometheus-data:
name: plurish-prometheus
networks:
plurish:
name: plurish
driver: bridge