-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (47 loc) · 1.45 KB
/
docker-compose.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
services:
api:
container_name: payment_api
build:
context: ./
dockerfile: src/Bmb.Payment.Api/Dockerfile
tags:
- techchallenge/restaurant_api
restart: always
healthcheck:
test: curl --fail http://localhost:8080/health || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 5s
networks:
- tech-challenge
ports:
- 8080:8080
environment:
- ASPNETCORE_ENVIRONMENT=Development
- Serilog__WriteTo__2__Args__serverUrl=http://seq:5341
- Serilog__Enrich__0=FromLogContext
- MercadoPago__WebhookSecret=${MercadoPago_WebhookSecret}
- MercadoPago__AccessToken=${MercadoPago_AccessToken}
- MercadoPago__NotificationUrl=${MercadoPago_NotificationUrl}
- HybridCache__Expiration=${HybridCache_Expiration}
- HybridCache__LocalCacheExpiration=${HybridCache_LocalCacheExpiration}
- HybridCache__Flags=${HybridCache_Flags}
- JwtOptions__SigningKey=${JwtOptions_SigningKey}
- JwtOptions__Issuer=${JwtOptions_Issuer}
- JwtOptions__Audience=${JwtOptions_Audience}
- JwtOptions__ExpirationSeconds=${JwtOptions_ExpirationSeconds}
- JwtOptions__UseAccessToken=${JwtOptions_UseAccessToken}
seq:
image: datalust/seq:latest
container_name: seq
environment:
- ACCEPT_EULA=Y
ports:
- 5341:5341
- 8081:80
networks:
- tech-challenge
networks:
tech-challenge:
driver: bridge