-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
54 lines (50 loc) · 1.28 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
47
48
49
50
51
52
53
54
services:
youtubelinks.api:
image: ${DOCKER_REGISTRY-}youtubelinksapi
container_name: youtubelinks.api
build:
context: .
dockerfile: YoutubeLinks.Api/Dockerfile
ports:
- 5000:5000
environment:
- ASPNETCORE_URLS=http://+:5000
- ASPNETCORE_HTTP_PORTS=5000
- ASPNETCORE_ENVIRONMENT=Development
volumes:
- ./YoutubeLinks.Api/Logging/Logs:/app/Logging/Logs
youtubelinks.blazor:
image: ${DOCKER_REGISTRY-}youtubelinksblazor
container_name: youtubelinks.blazor
build:
context: .
dockerfile: YoutubeLinks.Blazor/Dockerfile
ports:
- 7000:80
environment:
- ASPNETCORE_URLS=http://+:7000
- ASPNETCORE_HTTP_PORTS=7000
- ASPNETCORE_ENVIRONMENT=Development
youtubelinks.database:
image: mcr.microsoft.com/mssql/server:latest
container_name: youtubelinks.database
shm_size: 4gb
restart: unless-stopped
ports:
- 1433:1433
environment:
MSSQL_SA_PASSWORD: 'Password1!'
ACCEPT_EULA: 'Y'
volumes:
- mssql_volume:/var/opt/mssql
youtubelinks.seq:
image: datalust/seq:latest
container_name: youtubelinks.seq
ports:
- 5341:5341
- 8081:80
environment:
ACCEPT_EULA: 'Y'
volumes:
mssql_volume:
driver: local