90 lines
2.5 KiB
YAML
90 lines
2.5 KiB
YAML
services:
|
|
internalgateways:
|
|
container_name: clean-internalgateways
|
|
restart: unless-stopped
|
|
build:
|
|
context: .
|
|
dockerfile: ./gateways/KonSoft.InternalGateway/Dockerfile
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Test
|
|
- AgileConfig__AppId=KonSoft.InternalGateway
|
|
- AgileConfig__Name=KonSoft.InternalGateway
|
|
- AgileConfig__Nodes=https://config.konsoft.top/
|
|
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
|
ports:
|
|
- 8080:8080
|
|
networks:
|
|
- konsoft-shared-network
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
authserver:
|
|
container_name: clean-authserver
|
|
restart: unless-stopped
|
|
build:
|
|
context: .
|
|
dockerfile: ./applications/KonSoft.AuthServer/Dockerfile
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Test
|
|
- AgileConfig__AppId=KonSoft.AuthServer
|
|
- AgileConfig__Name=KonSoft.AuthServer
|
|
- AgileConfig__Nodes=https://config.konsoft.top/
|
|
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
|
ports:
|
|
- 8081:8081
|
|
volumes:
|
|
- /etc/letsencrypt/archive/code.konsoft.top/openiddict.pfx:/app/openiddict.pfx
|
|
networks:
|
|
- konsoft-shared-network
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
adminservice:
|
|
container_name: clean-adminservice
|
|
restart: unless-stopped
|
|
build:
|
|
context: .
|
|
dockerfile: ./microservices/KonSoft.Admin.HttpApi.Host/Dockerfile
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Test
|
|
- AgileConfig__AppId=KonSoft.Admin.HttpApi.Host
|
|
- AgileConfig__Name=KonSoft.Admin.HttpApi.Host
|
|
- AgileConfig__Nodes=https://config.konsoft.top/
|
|
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
|
networks:
|
|
- konsoft-shared-network
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
konsoft-shared-network:
|
|
name: konsoft-shared-network
|
|
driver: bridge
|
|
external: true |