-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
27 lines (25 loc) · 807 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
version: '3.4'
services:
cronscheduler.app:
image: ${DOCKER_REGISTRY}cronschedulewebapp
build:
context: .
dockerfile: src/CronSchedulerApp/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=44369
- ConnectionStrings:DefaultConnection=Server=cronscheduler.sql;Database=CronSchedulerApp;User Id=sa;Password=Pass@word
ports:
- "57989:80"
- "44369:443"
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
cronscheduler.sql:
image: microsoft/mssql-server-linux:2017-latest
ports:
- "5467:1433"
environment:
- SA_PASSWORD=Pass@word
- ACCEPT_EULA=Y