-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-acceptance-tests.yml
50 lines (47 loc) · 1.2 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
49
50
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
- GITHUB_ACTIONS=${GITHUB_ACTIONS:-FALSE}
entrypoint:
- dotnet
- test
- Micro.Web.AcceptanceTests.dll
- --no-restore
- --configuration=Release
- --verbosity=quiet
- --logger=GitHubActions
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"