forked from YoussefWaelMohamedLotfy/BookingClone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
71 lines (64 loc) · 1.65 KB
/
docker-compose.override.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3.8'
services:
bookingclone.api:
container_name: BookingClone_API
environment:
- ASPNETCORE_ENVIRONMENT=DockerDevelopment
- ASPNETCORE_URLS=http://+:80
ports:
- 13001:80
#- 13000:443
depends_on:
- sqlserver
#volumes:
# - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
# - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
bookingclone.yarp:
container_name: BookingClone_YARP
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:80
#- ASPNETCORE_URLS=https://+:443;http://+:80
ports:
- 12001:80
#- 12000:443
#volumes:
# - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
# - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
sqlserver:
container_name: sqlserver
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=abcde12345$
ports:
- 1433:1433
restart: unless-stopped
azurite:
container_name: Azurite
restart: unless-stopped
ports:
- 10000:10000
- 10001:10001
- 10002:10002
elasticsearch:
container_name: elasticsearch
environment:
- xpack.monitoring.enabled=true
- xpack.watcher.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
ports:
- 9200:9200
- 9300:9300
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
kibana:
container_name: kibana
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
depends_on:
- elasticsearch
ports:
- 5601:5601
volumes:
elasticsearch-data: