-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1.52 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
version: "3.8"
services:
database:
# Runs a local SQL Server 2017 instance to store data
image: mcr.microsoft.com/mssql/server:2019-latest
container_name: badgemeup-database
ports:
- "1433:1433"
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=BadgeMeUp1!
volumes:
- badgemeup-mssqlsystem:/var/opt/mssql
- badgemeup-mssqluser:/var/opt/sqlserver
storage:
image: mcr.microsoft.com/azure-storage/azurite:latest
container_name: badgemeup-storage
ports:
- 10000:10000
- 10001:10001
- 10002:10002
volumes:
- badgemeup-storage:/data
webapp:
image: badgemeup
container_name: badgemeup-webapp
depends_on:
- database
- storage
build:
context: .
dockerfile: ./Dockerfile
args:
- BUILDPROFILE=Debug
ports:
- "9000:80"
environment:
- CONNECTIONSTRINGS__BADGEDB=Data Source=badgemeup-database;Initial Catalog=badges1;User Id=sa;Password=BadgeMeUp1!;Application Name=badgemeup
- CONNECTIONSTRINGS__badgeImageStorage=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://badgemeup-storage:10000/devstoreaccount1;QueueEndpoint=http://badgemeup-storage:10001/devstoreaccount1;
- ASPNETCORE_ENVIRONMENT=Development
- LOGGING__LOGLEVEL__DEFAULT=Information
- DETAILEDERRORS=true
volumes:
badgemeup-mssqlsystem:
badgemeup-mssqluser:
badgemeup-storage: