-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
31 lines (27 loc) · 1.06 KB
/
docker-compose.override.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
# docker-compose -f docker-compose.yml -f docker-compose.override.yml up --force-recreate --build -d
# docker-compose -f docker-compose.yml -f docker-compose.override.yml down --rmi all -v --remove-orphans
# Debug VSCode
# https://www.richard-banks.org/2018/07/debugging-core-in-docker.html
# https://github.com/sleemer/docker.dotnet.debug
# http://blog.avenuecode.com/debugging-remote-containerized-apps-with-vs-code
# https://techblog.dorogin.com/running-and-debugging-net-core-unit-tests-inside-docker-containers-48476eda2d2a
version: '3.4'
services:
tjmt.docker.dotnet.samples.data:
image: tjmt/docker.dotnet.samples.data:latest
ports:
- 1433:1433
environment:
ACCEPT_EULA: 'Y'
SA_PASSWORD: P@ssw0rd
DATABASE: Banco
tjmt.docker.dotnet.samples:
build:
target: build
ports:
- 5555:80
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
CONNECTION_STRING: 'Server=tjmt.docker.dotnet.samples.data,1433;Database=Banco;User Id=sa;Password=P@ssw0rd;'
depends_on:
- tjmt.docker.dotnet.samples.data