-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (48 loc) · 1.28 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (48 loc) · 1.28 KB
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
version: '3.8'
name: teckshop
services:
catalog-api:
image: ghcr.io/captainpowerturtle/teckshop/catalog.api:latest
build:
context: .
dockerfile: src/services/catalog/Catalog.Api/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
# - ASPNETCORE_URLS=http://+:8080
- ASPNETCORE_HTTP_PORTS=8080
networks:
- teckshop
# ports:
# - "5201-5299:8080"
# - "7201-7299:8081"
# deploy:
# mode: replicated
# replicas: 2
# ports:
# - 7004
# - 5004
yarp-gateway:
image: ghcr.io/captainpowerturtle/teckshop/yarp.gateway:latest
build:
context: .
dockerfile: src/services/gateway/Yarp.Gateway/Dockerfile
networks:
- teckshop
environment:
# - ASPNETCORE_Kestrel__Certificates__Default__Password=password!
# - ASPNETCORE_Kestrel__Certificates__Default__Path=/https/cert.pfx
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
# - ASPNETCORE_URLS=http://+:8080
- ASPNETCORE_HTTP_PORTS=8080
# - ASPNETCORE_HTTPS_PORTS=8081
volumes:
- ~/.aspnet/https:/https:ro
depends_on:
catalog-api:
condition: service_started
ports:
- "8080"
# - "8081"
networks:
teckshop:
name: teckshop