-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-acceptance-tests.yml
48 lines (45 loc) · 1.12 KB
/
docker-compose-acceptance-tests.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
services:
acceptance-tests:
container_name: acceptance-tests
build:
context: .
dockerfile: ./tests/Micro.Web.AcceptanceTests/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- DOTNET_NOLOGO=true
- DOTNET_CLI_TELEMETRY_OPTOUT=true
- DOTNET_NUGET_SIGNATURE_VERIFICATION=false
- WEB_HOST=web
entrypoint:
- dotnet
- test
- Micro.Web.AcceptanceTests.dll
- --no-restore
- --configuration=Release
- --verbosity=quiet
depends_on:
- web
web:
container_name: web
build:
context: .
dockerfile: ./src/Micro.Web/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=8080
- DOTNET_NOLOGO=true
- DOTNET_CLI_TELEMETRY_OPTOUT=true
- DOTNET_NUGET_SIGNATURE_VERIFICATION=false
- Logging:LogLevel:Default=Warning
- DB_HOST=db
depends_on:
- db
db:
image: postgres:15.3-alpine
container_name: db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: db
ports:
- "5432:5432"