-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.devel.yml
38 lines (35 loc) · 1.03 KB
/
docker-compose.devel.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
services:
aspnet:
image: aspnetdevel
build:
context: .
dockerfile: Dockerfile.devel
ports:
- "44440:44440" # CRA live server (HTTPS)
- "7257:7257" # ASP.NET Core (HTTPS)
- "5222:5222" # ASP.NET Core (HTTP)
volumes:
- testresultsdevel:/testresults
- .:/app # Watch source code changes from host system
depends_on:
- dbpostgres
- redis
environment:
- ASPNETCORE_ENVIRONMENT=Development
# The following is overridden by `launchSettings.json`. Also, `0.0.0.0` is preferred over `*` for the CRA proxy
#- ASPNETCORE_URLS=https://0.0.0.0:7257;http://0.0.0.0:5222
- DOTNET_USE_POLLING_FILE_WATCHER=1
- PGUSER=postgres
- RUNNING_IN_CONTAINER=true
dbpostgres:
image: postgres
environment:
- POSTGRES_HOST_AUTH_METHOD=trust # Allow connection without password
- POSTGRES_DB=bilhealthdevel
volumes:
- postgresdevel:/var/lib/postgresql/data
redis:
image: redis
volumes:
testresultsdevel:
postgresdevel: