generated from ut-issl/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
31 lines (31 loc) · 948 Bytes
/
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
version: "3"
services:
aspnetapp:
image: wings-aspnetapp-img
build: ./aspnetapp
container_name: wings-aspnetapp-ctr
volumes:
- "./aspnetapp/WINGS/TlmCmd:/app/TlmCmd"
- "./aspnetapp/WINGS/Logs:/app/Logs"
environment:
ConnectionStrings__DefaultConnection: "server=mysql; uid=root; pwd=P@ssw0rd!; database=wings;"
ASPNETCORE_URLS: "https://+;http://+"
ASPNETCORE_HTTPS_PORT: 5001
ASPNETCORE_Kestrel__Certificates__Default__Password: "P@ssw0rd!"
ASPNETCORE_Kestrel__Certificates__Default__Path: "/app/certificate.pfx"
ports:
- "5001:5001"
depends_on:
- mysql
mysql:
image: wings-mysql-img
build: ./mysql
container_name: wings-mysql-ctr
ports:
- "3306:3306"
volumes:
- "./mysql/init:/docker-entrypoint-initdb.d"
- "./mysql/data:/var/lib/mysql"
environment:
- MYSQL_DATABASE=wings
- MYSQL_ROOT_PASSWORD=P@ssw0rd!