-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (25 loc) · 981 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
28 lines (25 loc) · 981 Bytes
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
version: '3.4'
# You need to start it with the following CLI command:
# docker-compose -f docker-compose.yml up --build
services:
sqldata:
image: 'mcr.microsoft.com/mssql/server:2017-latest'
environment:
- SA_PASSWORD=Pass@word
- ACCEPT_EULA=Y
ports:
- '5433:1433'
scheduler:
image: 'scheduler:${PLATFORM:-linux}-${TAG:-latest}'
build:
context: .
dockerfile: src/Scheduler/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionStrings:HangfireConnection=${HANGFIRE_CONNECTION:-Server=sqldata;Database=Hangfire_Sample;User Id=sa;Password=Pass@word}
- ConnectionStrings:DefaultConnection=${DEFAULT_CONNECTION:-Server=sqldata;Database=Hangfire_Sample;User Id=sa;Password=Pass@word}
ports:
- '5000:80'
depends_on:
- sqldata