-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (26 loc) · 849 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (26 loc) · 849 Bytes
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
version: "3.8"
services:
ambev.developerevaluation.webapi:
container_name: ambev_developer_evaluation_webapi
image: ${DOCKER_REGISTRY-}ambevdeveloperevaluationwebapi
build:
context: .
dockerfile: src/Ambev.DeveloperEvaluation.WebApi/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=8080
ports:
- "8080:8080"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
ambev.developerevaluation.database:
container_name: ambev_developer_evaluation_database
image: postgres:13
environment:
POSTGRES_DB: developer_evaluation
POSTGRES_USER: developer
POSTGRES_PASSWORD: ev@luAt10n
ports:
- "5432:5432"
restart: unless-stopped