-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.12 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
services:
sql:
# image: mcr.microsoft.com/mssql/server:2022-latest # use this for intel and standard amd
image: mcr.microsoft.com/azure-sql-edge # use this for M* Macs
container_name: onecore-sql
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=${LEASING_DATABASE__PASSWORD}
networks:
- onecore
ports:
- '1438:1433'
volumes:
- sql:/var/opt/mssql
elasticsearch:
container_name: onecore-elasticsearch
environment:
- xpack.security.enabled=false
- 'discovery.type=single-node'
image: docker.elastic.co/elasticsearch/elasticsearch:8.4.1
networks:
- onecore
ports:
- 9208:9200
deploy:
resources:
limits:
memory: 4G
volumes:
- elasticsearch:/usr/share/elasticsearch/data
kibana:
container_name: onecore-kibana
depends_on:
- elasticsearch
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
image: docker.elastic.co/kibana/kibana:8.4.1
networks:
- onecore
ports:
- 5608:5601
networks:
onecore:
driver: bridge
volumes:
sql:
elasticsearch: